[Koha-bugs] [Bug 20657] Globally enable PRE_CHOMP and POST_CHOMP in Template Toolkit configuration

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Mar 15 14:12:33 CET 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20657

--- Comment #9 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
I faced some challenges with chomping in bug 31028.. this patch kind of moves
the problem really.

We've historically not been very good at being explicit about chomping flags in
our templates and I've often found myself adding '-' to the opening or closing
tags of template markers.  This patch changes the default from 'no chomp' to
'chomp always'.. I think this is an improvement given our general use.. but we
will likely need to explicitly disable the chomping in a number of cases to
keep intended whitespace as Nick spotted.  It also might be nice to clean up
all uses of `-` as that's now effectively the detault.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list