[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
Tue May 1 15:28:54 CEST 2018


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

Owen Leonard <oleonard at myacpl.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #71024|0                           |1
        is obsolete|                            |

--- Comment #10 from Owen Leonard <oleonard at myacpl.org> ---
Created attachment 74946
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=74946&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.

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


More information about the Koha-bugs mailing list