Some entities (specifically ', but likely others) are not decoded by SimpleHtmlSaxParser::decodeHtml(). I've attached a patch that should fix the bug, and should work back to PHP 4.3.0 (not quite enough to match Simpletest's support). The patch also updates a test, in order to allow for verification of the existence and correction of the bug.
 Heavy discussion about decodeHtml's prior implementation, and better (compatible) ways to do it, can be found in the user comments at:
Quandary ( ai2097 ) - 2007-09-07 15:30:12 PDT
|decode_numerics_bugfix.diff||Decode more entities by using html_entity_decode||Download|