1
0
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:
Daniel Veillard
2001-05-04 17:52:34 +00:00
parent 377219233f
commit 6426935a9a
2 changed files with 7 additions and 2 deletions

View File

@ -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));
}