mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2024-12-23 00:41:52 +00:00
3b1c40b2fc
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1050 48356398-32a2-884e-a903-53898d9a118a
32 lines
717 B
PHP
32 lines
717 B
PHP
<?php
|
|
|
|
require_once 'HTMLPurifier/HTMLModuleHarness.php';
|
|
|
|
class HTMLPurifier_HTMLModule_LegacyTest extends HTMLPurifier_HTMLModuleHarness
|
|
{
|
|
|
|
function test() {
|
|
|
|
// max
|
|
$this->assertResult(
|
|
'<span>
|
|
<u>Text<span></span></u>
|
|
<s>Text<span></span></s>
|
|
<strike>Text<span></span></strike>
|
|
</span>'
|
|
);
|
|
|
|
// redefinitions
|
|
/*$this->assertResult(
|
|
'<ol start="3">
|
|
<li value="2">Foo</li>
|
|
</ol>
|
|
<address>Text<span></span><p></p></address>
|
|
<blockquote>Text<span></span><div></div></blockquote>'
|
|
);*/
|
|
|
|
}
|
|
|
|
}
|
|
|
|
?>
|