Implement %HTML.AllowedComments and %HTML.AllowedCommentsRegexp
commit6b643ede02eca7331d2b03124c676ff14a372173
authorEdward Z. Yang <ezyang@mit.edu>
Mon, 26 Dec 2011 07:34:42 +0000 (26 15:34 +0800)
committerEdward Z. Yang <ezyang@mit.edu>
Mon, 26 Dec 2011 07:34:42 +0000 (26 15:34 +0800)
tree7fe5e3ac6b058500dfea0e24fcbe74266632ebd0
parente41af46a8b93e90991c0e317b0756404b0b775e0
Implement %HTML.AllowedComments and %HTML.AllowedCommentsRegexp

Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
NEWS
configdoc/usage.xml
library/HTMLPurifier/ConfigSchema/schema.ser
library/HTMLPurifier/ConfigSchema/schema/HTML.AllowedComments.txt [new file with mode: 0644]
library/HTMLPurifier/ConfigSchema/schema/HTML.AllowedCommentsRegexp.txt [new file with mode: 0644]
library/HTMLPurifier/Strategy/RemoveForeignElements.php
tests/HTMLPurifier/Strategy/RemoveForeignElementsTest.php
tests/HTMLPurifier/Strategy/RemoveForeignElements_ErrorsTest.php