Show
Ignore:
Timestamp:
21.08.2015 17:18:42 (4 years ago)
Author:
jmt12
Message:

Altered to fix bug where imgcaption tag closed before image actually output. Looks like this was intentional at some stage, but means problems in the Wiki, so I'll repair

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • documentation/trunk/php/gs-manual-import.php

    r25052 r30117  
    291291       $txt .= '%!-- withLineNumber --%'; 
    292292     } 
    293      $txt .= '></imgcaption>' . "\n"; 
     293     $txt .= '>'; 
    294294     if ($in_chapter) 
    295295     { 
     
    305305     if ($in_chapter) 
    306306     { 
    307        fwrite($chapter_txt_out, "\n\n"); 
    308      } 
    309      else 
    310      { 
    311        $frontmatter_text .= "\n\n"; 
     307       fwrite($chapter_txt_out, "</imgcaption>\n\n"); 
     308     } 
     309     else 
     310     { 
     311       $frontmatter_text .= "</imgcaption>\n\n"; 
    312312     } 
    313313     // - no longer required