mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2025-08-04 13:18:00 +02:00
Fix removal of id with DirectLex by preserving armor.
Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
This commit is contained in:
8
tests/HTMLPurifier/HTMLT/id-img.htmlt
Normal file
8
tests/HTMLPurifier/HTMLT/id-img.htmlt
Normal file
@@ -0,0 +1,8 @@
|
||||
--INI--
|
||||
Attr.EnableID = true
|
||||
Core.LexerImpl = DirectLex
|
||||
--HTML--
|
||||
<img src="img_11775.jpg" alt="[Img #11775]" id="EMBEDDED_IMG_11775" >
|
||||
--EXPECT--
|
||||
<img src="img_11775.jpg" alt="[Img #11775]" id="EMBEDDED_IMG_11775" />
|
||||
--# vim: et sw=4 sts=4
|
Reference in New Issue
Block a user