From 25fe416ab2d7768306f2d4183ef9102e45aee1e4 Mon Sep 17 00:00:00 2001 From: "Edward Z. Yang" Date: Thu, 2 Aug 2007 15:13:12 +0000 Subject: [PATCH] Add test-case for blank TinyMCE allowed list. git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1345 48356398-32a2-884e-a903-53898d9a118a --- tests/HTMLPurifier/HTMLDefinitionTest.php | 5 +++++ 1 file changed, 5 insertions(+) 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())