fixed escape sequences
This commit is contained in:
parent
5f92d01605
commit
72426b7554
|
@ -95,7 +95,7 @@ function createModulePDF($accounts,$pdf_structure="default") {
|
|||
// We have a new section to start
|
||||
if($entry['tag'] == "SECTION" && $entry['type'] == "open") {
|
||||
$name = $entry['attributes']['NAME'];
|
||||
if(preg_match("/^\_[a-zA-Z\_]+/",$name)) {
|
||||
if(preg_match("/^_[a-zA-Z_]+/",$name)) {
|
||||
$section_headline = getSectionHeadline($entries[substr($name,1)][0]);
|
||||
}
|
||||
else {
|
||||
|
|
|
@ -486,7 +486,7 @@ foreach($_SESSION['currentPDFStructure'] as $key => $entry) {
|
|||
<td colspan="2">
|
||||
<?php
|
||||
// Section headline is a value entry
|
||||
if(preg_match("/^\_[a-zA-Z\_]+/",$name)) {
|
||||
if(preg_match("/^_[a-zA-Z_]+/",$name)) {
|
||||
?>
|
||||
<select name="section_<?php echo $key;?>">
|
||||
<!-- <?php echo $section_items;?> -->
|
||||
|
@ -517,7 +517,7 @@ foreach($_SESSION['currentPDFStructure'] as $key => $entry) {
|
|||
}
|
||||
// We have a section to end
|
||||
elseif($entry['tag'] == "SECTION" && $entry['type'] == "close") {
|
||||
if(preg_match("/^\_[a-zA-Z\_]+/",$name)) {
|
||||
if(preg_match("/^_[a-zA-Z_]+/",$name)) {
|
||||
$section_headline = substr($name,1);
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Reference in New Issue