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

Fix allowsElement() bug manifesting in LinkifyTest.

Thanks frank farmer for reporting.

Signed-off-by: Edward Z. Yang <edwardzyang@thewritingpot.com>
This commit is contained in:
Edward Z. Yang
2009-06-10 18:11:34 -04:00
parent e8abd5953c
commit 733a5ce5c3
2 changed files with 10 additions and 0 deletions

View File

@@ -41,6 +41,10 @@ class HTMLPurifier_Injector_LinkifyTest extends HTMLPurifier_InjectorHarness
$this->assertResult('http://example.com/');
}
function testExcludes() {
$this->assertResult('<a><span>http://example.com</span></a>');
}
}
// vim: et sw=4 sts=4