Koha-clms/Koha/Template/Plugin
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
..
Asset.pm Bug 22451: Make Asset plugin use Koha::version instead of version from db 2019-04-16 13:17:32 +00:00
AudioAlerts.pm Bug 11431: (QA followup) Move AudioAlerts to a separate plugin 2015-11-04 12:33:10 -03:00
AuthorisedValues.pm Bug 21593: Remove GROUP BY from GetAuthValueDropbox 2018-10-18 11:54:25 +00:00
Biblio.pm Bug 14610 - Add and update modules 2016-10-26 12:15:13 +00:00
Borrowers.pm Bug 12461 - Add patron clubs feature 2017-04-28 08:37:44 -04:00
Branches.pm Bug 22688: (QA follow-up) Use search_params as all() does 2019-04-16 13:17:32 +00:00
Cache.pm Bug 17189: Add the ability to define several memcached namespaces - replace existing occurrences 2016-09-08 10:24:46 +00:00
Categories.pm Bug 21890: (QA follow-up) Use List::Util::any 2019-04-12 02:32:04 +00:00
CirculationRules.pm Bug 18925: Fix 'Default checkout, hold policy by patron category' block 2019-03-05 20:42:22 +00:00
ColumnsSettings.pm Bug 10212: Columns configuration for tables 2014-08-26 09:28:03 -03:00
HtmlTags.pm Bug 18665 - Translatability: Add tt filter to allow html tags inside tt directives 2017-06-21 11:22:18 -03:00
I18N.pm Bug 15395: Make QA test script happy 2018-11-08 15:55:52 +00:00
ItemTypes.pm Bug 17843: [QA Follow-up] Some polishing 2017-07-05 13:42:21 -03:00
Koha.pm Bug 18026: Correct URL to database columns from .pref files 2017-02-21 19:54:23 +00:00
KohaDates.pm Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
KohaNews.pm Bug 22318: Extend Koha news feature to include other content areas 2019-04-18 10:47:03 +00:00
KohaPlugins.pm Bug 21352: Allow plugins to add CSS and Javascript to Staff interface 2018-10-03 17:45:57 +00:00
KohaSpan.pm Bug 15707: (QA follow-up) Allow object names to be styled without impeding translation 2018-02-12 15:41:08 -03:00
Languages.pm Bug 18213: Add Template plugin and fix for C4/Languages 2019-03-28 15:57:32 +00:00
Price.pm Bug 4078: Pass with_symbol to module 2018-03-23 11:45:38 -03:00
Remove_MARC_punctuation.pm Bug 19578: Remove MARC punctuation in notices (TT syntax) 2018-04-04 15:45:43 -03:00
To.pm Bug 20891: Escape html then JSON 2019-04-25 10:27:27 +00:00
raw.pm Bug 13618: Add POD to raw.pm 2018-08-17 16:14:14 +00:00