[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 29 17:13:34 CET 2018


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

Julian Maurice <julian.maurice at biblibre.com> changed:

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

--- Comment #4 from Julian Maurice <julian.maurice at biblibre.com> ---
Created attachment 71024
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=71024&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.

Signed-off-by: Julian Maurice <julian.maurice at biblibre.com>

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


More information about the Koha-bugs mailing list