ezyang / htmlpurifier

Standards compliant HTML filter written in PHP
http://htmlpurifier.org
GNU Lesser General Public License v2.1
3.07k stars 327 forks source link

[SafeScripting] disable autoclosing of <script /> tag #198

Closed ottaviano closed 5 years ago

ottaviano commented 5 years ago

Hi, the end </script> tag is mandatory (https://www.w3.org/TR/html4/interact/scripts.html) and in my chrome <script src="....js" /> does not work (the script JS does not load), that is why this PR.