[Koha-bugs] [Bug 27336] JS error in Administration - System preferences page

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jan 8 11:10:34 CET 2021


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

--- Comment #6 from Julian Maurice <julian.maurice at biblibre.com> ---
Created attachment 114949
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=114949&action=edit
Bug 27336 (alternative): 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

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


More information about the Koha-bugs mailing list