[3.1.0] Convert tokens to use instanceof, reducing memory footprint and improving...
commit5eee08c548a5700729f76f2126e6acfbd4317a86
authorEdward Z. Yang <edwardzyang@thewritingpot.com>
Sat, 19 Jan 2008 20:23:01 +0000 (19 20:23 +0000)
committerEdward Z. Yang <edwardzyang@thewritingpot.com>
Sat, 19 Jan 2008 20:23:01 +0000 (19 20:23 +0000)
treea7c2d3b7e8384a6c61bb125556d9dbb5d8e2974a
parentdd8ef4d3f52b0d8615c1bb5fa75102e073c2c32e
[3.1.0] Convert tokens to use instanceof, reducing memory footprint and improving comparison speed.

git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1509 48356398-32a2-884e-a903-53898d9a118a
16 files changed:
NEWS
library/HTMLPurifier/AttrValidator.php
library/HTMLPurifier/ChildDef/Custom.php
library/HTMLPurifier/ChildDef/Required.php
library/HTMLPurifier/ChildDef/StrictBlockquote.php
library/HTMLPurifier/ChildDef/Table.php
library/HTMLPurifier/Generator.php
library/HTMLPurifier/Injector/AutoParagraph.php
library/HTMLPurifier/Lexer/PEARSax3.php
library/HTMLPurifier/Strategy/FixNesting.php
library/HTMLPurifier/Strategy/MakeWellFormed.php
library/HTMLPurifier/Strategy/RemoveForeignElements.php
library/HTMLPurifier/Strategy/ValidateAttributes.php
library/HTMLPurifier/TagTransform/Font.php
library/HTMLPurifier/TagTransform/Simple.php
library/HTMLPurifier/Token.php