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:
@ -1,3 +1,8 @@
|
|||||||
|
Fri May 4 19:51:15 CEST 2001 Daniel Veillard <Daniel.Veillard@imag.fr>
|
||||||
|
|
||||||
|
* HTMLparser.c: fixed htmlNewDoc SYSTEM and PUBLIC ID inversion
|
||||||
|
when both parameters are NULL.
|
||||||
|
|
||||||
Fri May 4 17:19:39 CEST 2001 Daniel Veillard <Daniel.Veillard@imag.fr>
|
Fri May 4 17:19:39 CEST 2001 Daniel Veillard <Daniel.Veillard@imag.fr>
|
||||||
|
|
||||||
* valid.c: applied small patch from Gary Pennington, reindented
|
* valid.c: applied small patch from Gary Pennington, reindented
|
||||||
|
@ -1813,8 +1813,8 @@ htmlDocPtr
|
|||||||
htmlNewDoc(const xmlChar *URI, const xmlChar *ExternalID) {
|
htmlNewDoc(const xmlChar *URI, const xmlChar *ExternalID) {
|
||||||
if ((URI == NULL) && (ExternalID == NULL))
|
if ((URI == NULL) && (ExternalID == NULL))
|
||||||
return(htmlNewDocNoDtD(
|
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));
|
return(htmlNewDocNoDtD(URI, ExternalID));
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user