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

Allow empty sections in string hashes; previously they were left undefined.

Signed-off-by: Edward Z. Yang <edwardzyang@thewritingpot.com>
This commit is contained in:
Edward Z. Yang
2008-07-04 21:26:26 -04:00
parent aa0fdeee30
commit a227cb483a
4 changed files with 5 additions and 1 deletions

View File

@@ -4,5 +4,6 @@ CHAIN-ME: 2
--DESCRIPTION--
Multiline
stuff
--EMPTY--
--FOR-WHO--
Single multiline

View File

@@ -29,6 +29,7 @@ class HTMLPurifier_StringHashParserTest extends UnitTestCase
'TYPE' => 'string',
'CHAIN-ME' => '2',
'DESCRIPTION' => "Multiline\nstuff\n",
'EMPTY' => '',
'FOR-WHO' => "Single multiline\n",
));
}