Koha/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves
Jonathan Druart bdf0d85c1d Bug 20891: Escape html then JSON
To my understanding we need to escape first html chars then to JSON.

If this patch works we will need to rethink the 'To' TT plugin.
It was originally designed to have several escape methods, but with
these changes it will not make sense to name it 'To' if used only to
escape JSON

IIRC we should keep the 2 different ways to use it:
 * [% To.json( string ) %]
 * [% string | $To %]
otherwise it will be hard to use it when called in argument of
patron-title.inc (`git grep To.json`)

Signed-off-by: Liz Rea <wizzyrea@gmail.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
2019-04-25 10:27:27 +00:00
..
tables Bug 20891: Escape html then JSON 2019-04-25 10:27:27 +00:00
addbybiblionumber.tt Bug 22303: Correct bottom in virtualshelves/addbybiblionumber.tt 2019-03-07 20:54:42 +00:00
downloadshelf.tt Bug 14786: Use MARC istead of ISO2709 everywhere 2018-10-17 13:55:19 +00:00
sendshelf.tt Bug 13618: Add html filters to all the variables 2018-08-17 15:55:05 +00:00
sendshelfform.tt Bug 13618: Add html filters to all the variables 2018-08-17 15:55:05 +00:00
shelves.tt Bug 22422: improve item location display with class "shelvingloc" 2019-03-11 10:40:32 +00:00