repo.or.cz
/
htmlpurifier
/
darkodev.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Prepended constants with C_ to avoid reserved words as per https://www.php.net/manual...
[htmlpurifier/darkodev.git]
/
tests
/
HTMLPurifier
/
HTMLT
/
script-comment.htmlt
blob
006901919c5920c5d8d15b46d468e593dc119cb2
1
--INI--
2
HTML.Trusted = true
3
--HTML--
4
<script type="text/javascript"><!--
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