[Koha-bugs] [Bug 30330] Bad fields within comments in a HTML notice still cause a crash
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Mar 22 14:48:40 CET 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30330
--- Comment #3 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
As a side note (lowering the severity a bit):
You could also try [%# bad stuff %],
this works at least partially as long as the bad stuff does not contain %]
which would end the comment.
And for fun, as a crazy workaround, you could replace an ending %] by %][%#
resulting in for instance:
[%# <p>TOC: [% IF article_request.toc_request %][%#<strong>Include
TOC</strong>[% ELSE %][%#No[% END %]
It works, but serves as a 'good' example of a bad workaround.
Should we call this a Template Toolkit bug or what?
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list