0
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2024-11-14 01:08:41 +00:00
htmlpurifier/tests/HTMLPurifier/HTMLModule/LegacyTest.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>'
);*/
}
}
?>