Koha/koha-tmpl/intranet-tmpl/prog/en/modules
Julian Maurice d89f6027be Bug 27336: Sanitize correctly HTML id
Valid characters are alphanumeric characters (a-zA-Z0-9), hyphen (-)
and underscore (_)

https://www.w3.org/TR/CSS21/syndata.html#value-def-identifier

All invalid characters will be replaced by '_'

Test plan:
1. Go to Administration » System preferences and click on 'Searching'
   tab
2. You should see a console error (Uncaught Error: Syntax error,
   unrecognized expression: #collapse_Did_you_mean/spell_checking)
3. Apply patch
4. Make sure the error is gone
5. prove t/Koha_Template_Plugin_HtmlId.t

Signed-off-by: Owen Leonard <oleonard@myacpl.org>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2021-01-11 10:27:37 +01:00
..
acqui Bug 26729: Add focus class to vendor name field in vendor add form 2020-11-04 17:32:35 +01:00
admin Bug 27336: Sanitize correctly HTML id 2021-01-11 10:27:37 +01:00
authorities Bug 12533: (follow-up) Add CSS to preview display of authority MARC 2020-11-04 12:59:33 +01:00
basket Bug 23852: Merge biblio-title.inc and biblio-default-view.inc 2020-10-08 15:01:29 +02:00
batch Bug 20102: Remove attribute "text/css" for <style> element used in staff client templates 2019-02-19 13:52:15 +00:00
catalogue Bug 26707: Split cart and lists button on bibliographic detail pages 2021-01-04 16:31:29 +01:00
cataloguing Bug 27124: JS error "select2Width is not defined" 2020-12-21 10:07:40 +01:00
circ Bug 25534: Add missing td in tfoot in pendingreserves 2020-11-27 09:37:00 +01:00
clubs Bug 25744: Replace <i> with <em> in staff interface 2020-09-18 11:08:35 +02:00
common Bug 26738: (QA follow-up) Add missing filter 2020-11-04 12:59:32 +01:00
course_reserves Bug 26819: (QA follow-up) authorized_value should be authorised_value 2020-11-25 14:38:11 +01:00
errors Bug 21790: Switch error page template to Bootstrap grid 2018-12-26 20:47:03 +00:00
ill Bug 22818: Add generation and sending of notices 2020-11-11 08:35:10 +01:00
installer Bug 24973: Load custom localization file 2020-08-24 12:10:53 +02:00
labels Bug 26875: (follow-up) Fix error message ("greater or equal") 2021-01-04 15:53:12 +01:00
mana Bug 22250: Clean up Mana KB integration with serials and reports 2019-04-11 11:34:14 +00:00
members Bug 26956: Allow guarantor's controls to be set when a guarantee is created 2020-12-26 18:14:11 +01:00
offline_circ Bug 26212: Remove the use of jquery.checkboxes plugin from pending offline circulations 2020-08-18 15:45:49 +02:00
onboarding Bug 26449: fix web installer typo 2020-10-08 11:36:32 +02:00
patron_lists Bug 26234: Teach our KohaTable constructor the specific th classes 2020-08-19 08:24:04 +02:00
patroncards Bug 26806: Remove the jquery.checkboxes plugin from the staff client 2020-11-03 10:57:35 +01:00
plugins Bug 25549: Add error reporting to plugins-home 2020-10-22 10:04:30 +02:00
pos Bug 27256: Update click handler for point of sale 2020-12-26 17:58:35 +01:00
reports Bug 27142: Don't interpolate batch_type variable 2020-12-09 11:08:20 +01:00
reserve Bug 27292: Add TablesSettings directive to fix columns_settings_borrowers_table 2021-01-08 15:17:24 +01:00
reviews Bug 25744: replace <b> with <strong> in the staff interface 2020-09-18 11:08:35 +02:00
rotating_collections Bug 23852: Merge biblio-title.inc and biblio-default-view.inc 2020-10-08 15:01:29 +02:00
serials Bug 26846: Fix regressions - Preselect expected and late serials 2020-11-18 09:34:51 +01:00
services
suggestion Bug 26738: (bug 24819 follow-up) Fix manager selection 2020-11-04 12:59:32 +01:00
tags Bug 26806: Remove the jquery.checkboxes plugin from the staff client 2020-11-03 10:57:35 +01:00
test
tools Bug 26983: Fix [un]select all links in inventory 2021-01-08 15:21:51 +01:00
virtualshelves Bug 26806: Remove 1 remaining occurrence of jquery.checkboxes.min.js 2020-11-03 10:57:35 +01:00
about.tt Bug 27252: Add deprecation warning, cross_fields pref, and add version to ES info 2021-01-07 15:32:20 +01:00
auth.tt Bug 27055: Fix compatibility with newer Firefox+Selenium version 2020-12-30 12:04:49 -03:00
intranet-main.tt Bug 26833: Logged in library doesn't show with suggestions count 2020-11-02 11:03:09 +01:00