reassign 496765 libmrss thanks Hi Gerfried, * Gerfried Fuchs <[EMAIL PROTECTED]> [2008-08-27 13:53]: > newsbeuter strips leading whitespace out of feeds, breaking html feeds > that use <pre> tags to e.g. show debian changelog entries. > > Would be kind to get that fixed, I almost suspected a rendering error. :)
It looks like it is the nxml parser which eats the white spaces. Thus I reassign this bug. Upstream fixed this in the internal code copy with the following patch: --- src/nxml_parser.c (revision 1439) +++ src/nxml_parser.c (revision 1440) @@ -52,6 +52,7 @@ if (*(buffer + i) == 0xd) continue; + /* if (*(buffer + i) == 0xa || *(buffer + i) == 0x9 || *(buffer + i) == 0x20) { @@ -64,7 +65,7 @@ } } - else if (*(buffer + i) == '&') + else */ if (*(buffer + i) == '&') { if (!strncmp (buffer + i, "<", 4)) { Torsten, can you apply this patch and forward it to upstream? Kind regards Nico -- Nico Golde - http://www.ngolde.de - [EMAIL PROTECTED] - GPG: 0x73647CFF For security reasons, all text in this mail is double-rot13 encrypted.
pgpLTUe8jnj2P.pgp
Description: PGP signature