gustafn
committed
on 16 Jul 07
Fix a bug in ad_html_to_text: This function breaks, when it encounters a (valid) entity like &0038;
The problem was, that the old code inter… Show more
Fix a bug in ad_html_to_text: This function breaks, when it encounters a (valid) entity like &0038;

The problem was, that the old code interpreted the numeric value of the entity as an octal value

because it starts with leading zeros.

Show less