mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-16 07:21:58 +03:00
Don't give default HTML boolean attribute values in parser
* HTMLparser.c: don't default value of HTML boolean attributes in the parser * SAX2.c: move this to SAX2 tree building backend * result/HTML/doc2.htm.sax result/HTML/doc3.htm.sax result/HTML/wired.html.sax: this changes a few HTML SAX regression tests
This commit is contained in:
@ -3426,11 +3426,6 @@ htmlParseAttribute(htmlParserCtxtPtr ctxt, xmlChar **value) {
|
||||
NEXT;
|
||||
SKIP_BLANKS;
|
||||
val = htmlParseAttValue(ctxt);
|
||||
} else if (htmlIsBooleanAttr(name)) {
|
||||
/*
|
||||
* assume a minimized attribute
|
||||
*/
|
||||
val = xmlStrdup(name);
|
||||
}
|
||||
|
||||
*value = val;
|
||||
|
Reference in New Issue
Block a user