Stefan Behnel wrote:
> I noticed a problem with the new way libxml2 2.6.29+ handles the HTML "embed"
> tag. It serialises it without the enclosing tag, which then lets following
> attempts to parse the document fail, as the information where the tag is
> closed gets lost.

Here's a patch.

Stefan

--- HTMLparser.c.ORIG   2007-11-24 11:30:43.000000000 +0100
+++ HTMLparser.c        2007-11-24 11:44:17.000000000 +0100
@@ -711,7 +711,7 @@
 { "em",                0, 3, 0, 0, 0, 0, 1, "emphasis",
        DECL html_inline, NULL, DECL html_attrs, NULL, NULL
 },
-{ "embed",     0, 1, 2, 0, 1, 1, 1, "generic embedded object ",
+{ "embed",     0, 1, 0, 0, 1, 1, 1, "generic embedded object ",
        EMPTY, NULL, DECL embed_attrs, NULL, NULL
 },
 { "fieldset",  0, 0, 0, 0, 0, 0, 0, "form control group ",

_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
[email protected]
http://mail.gnome.org/mailman/listinfo/xml

Reply via email to