Slightly modified version of Kses 0.2.2 with improved speed, fixed bugs like the colon bug, and extra features. This version is being used a forthcoming release of LabWiki software (bioinformatics.org/phplabware).
* File-size reduced ~50% to 9 kb - smaller variable names; small functions instead coded inline
* Expanded allowed protocols so attributes in style, like "border: 1px", are possible; only safe values added (see feedvalidator.org/docs/warning/DangerousStyleAttr.html)
* Option to replace unallowed tags (and contents) with entitified values, instead of being removed altogether
* Lowercase entities of type &#Xnn; for XML compliance
* File test.php accompanies