From: Jonas Borgström (jonas@codefactory.se)
Date: Wed Feb 21 2001 - 10:00:20 EST
Hi,
I think I might have found a bug in the HTMLparser in gnome-xml.
if you have some code like this:
<.p>
Some text
<.table style="display: inline-table">
..some table rows....
<./table>
Some more text
<./p>
But when gnome-xml parses this file it will convert it to this:
<.p>
Some text
<./p>
<.table style="display: inline-table">
..some table rows....
<./table>
<.p>
Some more text
<./p>
But this is not correct, because the "display: inline-table" tells the browser
to put the table on the same line as the other text. But gnome-xml makes new paragraphs
so it becomes impossible for the browser (gtkhtml2) to do this.
after a quick look at the code in HTMLparser.c it looks like the line:
"table", "p", "head", "h1", "h2", "h3", "h4", "h5", "h6", "pre",
should be removed from the char *htmlStartClose[] initialisation.
What do you think about this?
/ Jonas
-- Jonas Borgström jonas@codefactory.se CodeFactory AB http://www.codefactory.se/ Office: +46 (0)90 71 86 10 Cell: +46 (0)70 248 89 58---- Message from the list xml@rpmfind.net Archived at : http://xmlsoft.org/messages/ to unsubscribe: echo "unsubscribe xml" | mail majordomo@rpmfind.net
This archive was generated by hypermail 2b29 : Wed Feb 21 2001 - 10:43:39 EST