aboutsummaryrefslogtreecommitdiffstats
path: root/lib/htmlpurifier/tests/HTMLPurifier/HTMLT/script-cdata.htmlt
blob: e7d6d7f5b5f7893a879bde128a864a4ed2098315 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--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