1
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2025-07-10 09:16:20 +02:00

[3.1.0] Implement Proprietary HTML module with <marquee>

git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1572 48356398-32a2-884e-a903-53898d9a118a
This commit is contained in:
Edward Z. Yang
2008-02-20 00:53:09 +00:00
parent f2863557f5
commit b5f1c76ee8
6 changed files with 82 additions and 1 deletions

View File

@ -0,0 +1,29 @@
<?php
class HTMLPurifier_HTMLModule_ProprietaryTest extends HTMLPurifier_HTMLModuleHarness
{
function setUp() {
parent::setUp();
$this->config->set('HTML', 'Proprietary', true);
}
function testMarquee() {
$this->assertResult(
'<span><marquee
width="20%"
height="34"
direction="left"
behavior="alternate"
scrolldelay="3"
scrollamount="5"
loop="4"
bgcolor="red"
hspace="5"
vspace="3"
><div>Block</div><span>Inline</span>Text</marquee></span>'
);
}
}