[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 Jun 8 11:15:24 CEST 2022


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

--- Comment #3 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
(In reply to Julian Maurice from comment #2)
> +    $data =~ tr/ //s;
> 
> This would squash *every* sequences of space into a single space, right ?
> I'm not sure if it's appropriate for every template (sometimes spaces have
> meaning, like in some MARC fields, or we want them, like in <pre></pre>
> blocks, ...)

Yes, agreed, we should go with pre/post chomp first.

-- 
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