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

Fix broken trusted comments functionality.

This fix is slightly hackish, as we simply treat comments as whitespace.
This should largely be correct, and breaks no current test cases,
although it could result in noncompliant behavior.

Signed-off-by: Edward Z. Yang <edwardzyang@thewritingpot.com>
This commit is contained in:
Edward Z. Yang
2009-02-05 18:04:10 -05:00
parent b9094d5ec8
commit 07ed1bbf8c
5 changed files with 15 additions and 1 deletions

View File

@@ -0,0 +1,4 @@
--INI--
HTML.Trusted = true
--HTML--
<table><!-- foo --><tr><td>Foo</td></tr></table>