mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2025-07-31 03:10:09 +02:00
Fix #45, errors when ul/ol allowed without li.
Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
This commit is contained in:
7
tests/HTMLPurifier/HTMLT/li-disabled.htmlt
Normal file
7
tests/HTMLPurifier/HTMLT/li-disabled.htmlt
Normal file
@@ -0,0 +1,7 @@
|
||||
ERROR: Cannot allow ul/ol without allowing li
|
||||
--INI--
|
||||
HTML.AllowedElements = ul
|
||||
--HTML--
|
||||
<ul><li>foo</li></ul>
|
||||
--EXPECT--
|
||||
--# vim: et sw=4 sts=4
|
Reference in New Issue
Block a user