[3.1.2] Implement comments when %HTML.Trusted is on.
commitdba3ed7770a82dc85e196b752943fd8e1922ee4a
authorEdward Z. Yang <edwardzyang@thewritingpot.com>
Thu, 26 Jun 2008 03:12:19 +0000 (25 23:12 -0400)
committerEdward Z. Yang <edwardzyang@thewritingpot.com>
Thu, 26 Jun 2008 03:12:19 +0000 (25 23:12 -0400)
tree7d46a062e204bb3837ad836eae091da3659c1960
parentde9869d942fa76b65fbb07daf1e89691ca2e9ac4
[3.1.2] Implement comments when %HTML.Trusted is on.

Some implementation notes: not all comments are valid; HTML makes sure
double-hyphens and trailing hyphens are not found in comments. In addition,
two new localizable messages were added.

Requested-by: Waldo Jaquith <waldo@vqronline.org>
Signed-off-by: Edward Z. Yang <edwardzyang@thewritingpot.com>
NEWS
library/HTMLPurifier/Language/messages/en.php
library/HTMLPurifier/Strategy/RemoveForeignElements.php
tests/HTMLPurifier/Strategy/RemoveForeignElementsTest.php
tests/HTMLPurifier/Strategy/RemoveForeignElements_ErrorsTest.php