X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/1b9d0f70b5e58c510ed2ab4337eb0f6512d779ca..29185b688ec990bdb801cd8736a12c403095db0c:/SL/Template/LaTeX.pm diff --git a/SL/Template/LaTeX.pm b/SL/Template/LaTeX.pm index 5d5008c1f..02ad31761 100644 --- a/SL/Template/LaTeX.pm +++ b/SL/Template/LaTeX.pm @@ -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);