Fix autoparagraph bug with non-inline elements.
[htmlpurifier.git] / tests / HTMLPurifier / HTMLT / script-cdata.htmlt
blobe7d6d7f5b5f7893a879bde128a864a4ed2098315
1 --INI--
2 HTML.Trusted = true
3 --HTML--
4 <script type="text/javascript"><![CDATA[
5 alert("<This is compatible with XHTML>");
6 ]]></script>
7 --EXPECT--
8 <script type="text/javascript"><!--//--><![CDATA[//><!--
9 alert("<This is compatible with XHTML>");
10 //--><!]]></script>
11 --# vim: et sw=4 sts=4