mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-29 11:41:22 +03:00
- HTMLparser.c: fixed htmlNewDoc SYSTEM and PUBLIC ID inversion
when both parameters are NULL. Daniel
This commit is contained in:
@ -1813,8 +1813,8 @@ htmlDocPtr
|
||||
htmlNewDoc(const xmlChar *URI, const xmlChar *ExternalID) {
|
||||
if ((URI == NULL) && (ExternalID == NULL))
|
||||
return(htmlNewDocNoDtD(
|
||||
BAD_CAST "-//W3C//DTD HTML 4.0 Transitional//EN",
|
||||
BAD_CAST "http://www.w3.org/TR/REC-html40/loose.dtd"));
|
||||
BAD_CAST "http://www.w3.org/TR/REC-html40/loose.dtd",
|
||||
BAD_CAST "-//W3C//DTD HTML 4.0 Transitional//EN"));
|
||||
|
||||
return(htmlNewDocNoDtD(URI, ExternalID));
|
||||
}
|
||||
|
Reference in New Issue
Block a user