]> wagnertech.de Git - mfinanz.git/blobdiff - SL/Template/LaTeX.pm
config tag-style für TT vorlagen
[mfinanz.git] / SL / Template / LaTeX.pm
index 5d5008c1f129cb67a84ad2ad2b8b36af41848aea..02ad317615628ff3bb1a2421214b954de0f5e08b 100644 (file)
@@ -356,6 +356,10 @@ sub parse {
   if ($self->{use_template_toolkit}) {
     my $additional_params = $::form;
 
+    if ($self->{custom_tag_style}) {
+      $contents = "[% TAGS $self->{tag_start} $self->{tag_end} %]\n" . $contents;
+    }
+
     $::form->init_template->process(\$contents, $additional_params, \$new_contents) || die $::form->template->error;
   } else {
     $new_contents = $self->parse_block($contents);