[xml] HTML parser and whitespace



Hi,

the attached patch fixes a bug in the whitespace handling of libxmls
HTML parser, I noticed this morning and reported in bugzilla: 
http://bugzilla.gnome.org/show_bug.cgi?id=87235

Though it fixes my problems without introducing new ones (at least
none I already found), I think it might be a good idea if those
of you using the html parser have a look at it.

The patch makes the html parser keep all whitespace that occurs within
elements that allow #PCDATA in the html 4.01 loose dtd.

greetins
        Morus

Attachment: htmlparser.diff
Description: Binary data



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]