[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 18:20:43 CEST 2018


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

--- Comment #1 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 81184
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=81184&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).

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


More information about the Koha-bugs mailing list