[Koha-bugs] [Bug 21669] TT assignement statements must not be html filtered
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Oct 25 19:52:41 CEST 2018
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21669
Owen Leonard <oleonard at myacpl.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #81184|0 |1
is obsolete| |
--- Comment #3 from Owen Leonard <oleonard at myacpl.org> ---
Created attachment 81191
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=81191&action=edit
Bug 21669: Do not html filter TT assignement statements
Why? Because we must filter the variables when we display them.
If we escape them on assignement, they will be double escaped:
[% XXX = "<span>pouet</span>" | html %]
[% XXX | html %]
=> <span>pouet</span>
Also it will bring trouble if we are assigning a structure (see bug
21663 for instance).
Signed-off-by: Owen Leonard <oleonard at myacpl.org>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list