Fix bug: number spans should not allow zero as a value. This required augmenting...
commitdcec92e7b383f1cd34f6e39d8846befe2992f682
authorEdward Z. Yang <edwardzyang@thewritingpot.com>
Fri, 25 Aug 2006 02:48:49 +0000 (25 02:48 +0000)
committerEdward Z. Yang <edwardzyang@thewritingpot.com>
Fri, 25 Aug 2006 02:48:49 +0000 (25 02:48 +0000)
treecc61f1c60440bf3485c653828f55d68f9d34204c
parentfb0003a6088a4cee1bc3972ff48bd70c3458b782
Fix bug: number spans should not allow zero as a value. This required augmenting HTMLPurifier/AttrDef/Integer.php to have a richer negative/zero/positive specification interface that can be extrapolated to Number and friends.

git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@318 48356398-32a2-884e-a903-53898d9a118a
library/HTMLPurifier/AttrDef/Integer.php
library/HTMLPurifier/HTMLDefinition.php
tests/HTMLPurifier/AttrDef/IntegerTest.php
tests/HTMLPurifier/Strategy/ValidateAttributesTest.php