Koha/koha-tmpl/intranet-tmpl/prog/en/modules
Fridolin Somers be18ee7aa5 Bug 29853: Add HTML filter before KohaSpan filter
Usage of Template Toolkit plugin KohaSpan as filter is actually :
  Group [% added.title | $KohaSpan class = 'name' | $raw %] created.

But KohaSpan filter does not escape HTML characters.
Whe should filter HTML then KohaSpan.

This patch adds TT html filter before KohaSpan.
Also replaces in Javascript html() with text()
to ensure special caracters are still encoded.
See https://api.jquery.com/text/

Test plan :
1) Create a library with name Libra'rie
2) Create a library group with name Grou'pe
3) Play with this group
4) Add library
5) Remove library
6) Edit group
7) Delete group
8) Each time check that &apos, is not interpreted as single quote

Signed-off-by: Solène Desvaux <solene.desvaux@biblibre.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-02-21 15:15:47 -10:00
..
acqui Bug 29570: Enable sorting orders by summary 2022-02-14 21:41:38 -10:00
admin Bug 29853: Add HTML filter before KohaSpan filter 2022-02-21 15:15:47 -10:00
authorities Bug 28993: Switch magnifying glass in staff detail pages to FA icon 2022-02-09 22:01:37 -10:00
basket Bug 26703: authorities, basket and batch folders 2021-04-21 11:16:33 +02:00
batch Bug 29244: Add dialog class where missing in print-notices.tt 2021-10-21 12:24:04 +02:00
catalogue Bug 30082: Bibliographic details tab missing when user can't add local cover image 2022-02-16 11:51:11 -10:00
cataloguing Bug 26102: Prevent XSS when To.json is used: unimarc_field_4XX.tt 2022-02-02 21:05:29 -10:00
circ Bug 30081: Add item type column to holds table 2022-02-16 11:51:11 -10:00
clubs Bug 29859: Use iterator instead of as_list 2022-02-09 15:36:23 -10:00
common Bug 28350: Fix borrowernotes sorting for patron search 2021-06-14 17:35:20 +02:00
course_reserves Bug 28898: (follow-up) Add context to some more occurrences of Term in course reserves 2021-09-21 20:22:57 +02:00
errors Bug 28438: Capitalization: Various corrections 2021-09-28 15:12:45 +02:00
ill Bug 29514: Remove extraneous HTML entity from breadcrumbs 2021-12-01 21:38:12 -10:00
installer Bug 27823: List upcoming steps during installation process 2021-11-03 15:40:52 +01:00
labels Bug 29240: Rename start_for with date_to 2021-10-19 14:08:09 +02:00
mana
members Bug 30090: Don't export some columns in patron search results 2022-02-16 21:52:51 -10:00
offline_circ Bug 26703: offline_circ and onboarding folders 2021-04-21 11:16:34 +02:00
onboarding Bug 28982: Use Flatpickr on onboarding pages 2021-11-03 15:40:53 +01:00
patron_lists Bug 16446: (follow-up) Fix translation and adjust radio buttons 2021-10-21 12:24:04 +02:00
patroncards Bug 28576: Update the maximum size of an image. 2022-02-14 21:41:38 -10:00
plugins Bug 28438: Capitalization: Various corrections 2021-09-28 15:12:45 +02:00
pos Bug 27801: Fix javascript price calculations 2021-12-15 12:15:00 -10:00
reports Bug 29767: (QA follow-up) Make singular/plural forms consistent 2022-02-09 22:01:37 -10:00
reserve Bug 28405: Add author for multi holds view 2022-02-14 21:41:38 -10:00
reviews Bug 26703: reserve, reviews & rotating_collections folders 2021-04-21 11:16:35 +02:00
rotating_collections Bug 26703: reserve, reviews & rotating_collections folders 2021-04-21 11:16:35 +02:00
serials Bug 26257: Move translatable strings out of subscription-add.tt and into subscription-add.js 2022-02-14 21:41:38 -10:00
services Bug 29496: (bug 27526 follow-up) Fix item form validation 2021-11-19 15:07:10 +01:00
suggestion Bug 24370: (QA follow-up) Make new suggestions default to the library you re viewing 2021-11-02 14:57:04 +01:00
tags Bug 29240: Rename start_for with date_to 2021-10-19 14:08:09 +02:00
test
tools Bug 29515: Make title for HTML customizations optional 2022-02-14 21:41:38 -10:00
virtualshelves Bug 29542: Prevent access to private list to non authorized users 2022-02-02 21:05:29 -10:00
about.tt Bug 29960: Remove Modernizr dependency in the OPAC 2022-02-16 21:52:51 -10:00
auth.tt Bug 29487: Set autocomplete off for userid/password fields at login 2021-12-01 21:57:36 -10:00
intranet-main.tt Bug 29571: Display all pending suggestions even if none from logged in library 2022-01-03 20:58:36 -10:00