0
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2024-11-10 07:38:41 +00:00
htmlpurifier/library/HTMLPurifier/Lexer
Edward Z. Yang aa0fdeee30 Refine Lexers for parsing stray angled brackets; %Core.AggressivelyFixLt = true
By default, the DirectLex and DOMLex behavior with stray angled brackets
varied a great deal due to their implementations. A little known directive
%Core.AggressivelyFixLt attempted to match DOMLex's behavior with DirectLex's,
but it was off by default. By turning it on by default, users now enjoy these
benefits, and performance-minded users can turn it back off.

Also, several refinements to stray angled bracket parsing was made. Specifically:

* DirectLex: Handle each left angled bracket individually, which prevents
  strange behavior as reported by eon.
* DOMLex: Iterate aggressive lt fix, so that stacked brackets like << are
  handled.

Signed-off-by: Edward Z. Yang <edwardzyang@thewritingpot.com>
2008-07-07 08:52:29 -04:00
..
DirectLex.php Refine Lexers for parsing stray angled brackets; %Core.AggressivelyFixLt = true 2008-07-07 08:52:29 -04:00
DOMLex.php Refine Lexers for parsing stray angled brackets; %Core.AggressivelyFixLt = true 2008-07-07 08:52:29 -04:00
PEARSax3.php [3.1.0] The bulk of autoload support added 2008-01-27 01:54:41 +00:00
PH5P.php Handle CRLF discrepancies 2008-06-24 21:10:51 -04:00