mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-10-26 00:37:43 +03:00
html: Stop implying <p> start tags
Only <html>, <head> or <body> should be implied. Opening extra <p> tags has always been a libxml2 quirk.
This commit is contained in:
@@ -474,7 +474,7 @@ testHtmlPushWithEncoding(void) {
|
||||
err = 1;
|
||||
}
|
||||
|
||||
node = xmlDocGetRootElement(doc)->children->children->children;
|
||||
node = xmlDocGetRootElement(doc)->children->children;
|
||||
if (!xmlStrEqual(node->content, BAD_CAST "-\xC3\xA4-")) {
|
||||
fprintf(stderr, "testHtmlPushWithEncoding failed\n");
|
||||
err = 1;
|
||||
|
||||
Reference in New Issue
Block a user