pastafarianstvi.cz/libraries/htmlpurifier-4.14.0/tests/HTMLPurifier/HTMLT/script-cdata.htmlt

12 lines
297 B
Text
Raw Permalink Normal View History

2022-11-19 17:30:09 +01:00
--INI--
HTML.Trusted = true
--HTML--
<script type="text/javascript"><![CDATA[
alert("<This is compatible with XHTML>");
]]></script>
--EXPECT--
<script type="text/javascript"><!--//--><![CDATA[//><!--
alert("<This is compatible with XHTML>");
//--><!]]></script>
--# vim: et sw=4 sts=4