[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 Jan 22 14:30:11 CET 2018


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

Owen Leonard <oleonard at myacpl.org> changed:

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

--- Comment #2 from Owen Leonard <oleonard at myacpl.org> ---
Created attachment 70794
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=70794&action=edit
Bug 20053: Drop type attribute "text/javascript" in OPAC templates

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: Owen Leonard <oleonard at myacpl.org>

The QA tool raises some warnings, but these are about issues which
pre-date this patch. They should be addressed in a separate bug.

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


More information about the Koha-bugs mailing list