diff --git a/tests/HTMLPurifier/HTMLDefinitionTest.php b/tests/HTMLPurifier/HTMLDefinitionTest.php index d64daf6f..28fb28cc 100644 --- a/tests/HTMLPurifier/HTMLDefinitionTest.php +++ b/tests/HTMLPurifier/HTMLDefinitionTest.php @@ -13,6 +13,11 @@ class HTMLPurifier_HTMLDefinitionTest extends HTMLPurifier_Harness // counterpart is not. This is generally a good thing for users, // but it's a slight internal inconsistency + $this->assertEqual( + $def->parseTinyMCEAllowedList(''), + array(array(), array()) + ); + $this->assertEqual( $def->parseTinyMCEAllowedList('a,b,c'), array(array('a' => true, 'b' => true, 'c' => true), array())