[Koha-bugs] [Bug 20053] Drop type attribute "text/javascript" for <script> elements used in OPAC templates
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Jun 4 18:32:13 CEST 2018
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20053
Jon Knight <J.P.Knight at lboro.ac.uk> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #74946|0 |1
is obsolete| |
--- Comment #11 from Jon Knight <J.P.Knight at lboro.ac.uk> ---
Created attachment 75781
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=75781&action=edit
Bug 20053: Drop type attribute "text/javascript" in OPAC templates
This patch is a reimplementation of the original from Indranil Das Gupta
and the QA follow-up from Julian Maurice. Original test plan:
Conformance rules for HTML5 is generating warnings for <script> element
with type="text/javascript" attribute when the OPAC page is checked
with W3C Validator. This patch removes the cause of these warnings.
Test plan
=========
1/ Paste the URL to your OPAC page (if it is hosted) to W3C Validator
and watch about 10+ warnings being generated by the validator.
2/ Apply patch and re-submit the page to the Validator. The warnings
would be gone.
Signed-off-by: Jon Knight <J.P.Knight at lboro.ac.uk>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list