https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30330 --- Comment #3 from Marcel de Rooy <m.de.rooy@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.