]> wagnertech.de Git - kivitendo-erp.git/commitdiff
Richtiges HTML-Kommentar-Ende in config-Zeile akzeptieren
authorMoritz Bunkus <m.bunkus@linet-services.de>
Fri, 10 Dec 2010 08:17:27 +0000 (09:17 +0100)
committerMoritz Bunkus <m.bunkus@linet-services.de>
Fri, 10 Dec 2010 08:17:27 +0000 (09:17 +0100)
SL/Template/LaTeX.pm
doc/dokumentenvorlagen-und-variablen.html

index eb99b1bb4193ec2330de40fe878c7af5f9be501f..7b89aa4ab370e78682f5207c7f3f5e15e0da0cf7 100644 (file)
@@ -264,7 +264,7 @@ sub _parse_config_lines {
     $comment_start = '\s*%';
   } elsif (ref $self eq 'SL::Template::HTML') {
     $comment_start = '\s*<!--';
-    $comment_end   = '>\s*';
+    $comment_end   = '(?:--)?>\s*';
   } else {
     $comment_start = '\s*\#';
   }
index 38be045c8d552476a86103f6bd75f262bf34ba82..be7dd20013a1291e91dd4860f00e25d75770e31c 100644 (file)
@@ -206,7 +206,7 @@ td {
   &auml;quivalente Beispiel f&uuml;r HTML-Dokumentenvorlagen sieht so
   aus:</p>
 
- <p><code>&lt;!-- config: tag-style=($ $)&gt;</code></p>
+ <p><code>&lt;!-- config: tag-style=($ $) --&gt;</code></p>
 
  <small><a href="dokumentenvorlagen-und-variablen.html#inhaltsverzeichnis">
    zum Inhaltsverzeichnis</a></small><br>