Richtiges HTML-Kommentar-Ende in config-Zeile akzeptieren
[kivitendo-erp.git] / SL / Template / LaTeX.pm
index eb99b1b..7b89aa4 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*\#';
   }