1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-30 22:43:14 +03:00

Patches: - HTMLparser.c: htmlCheckParagraph to check

Patches:
- HTMLparser.c: htmlCheckParagraph to check htmlOmittedDefaultValue,
  reported by Jonas Borgstrm
- nanohttp.c: Applied Bjorn Reese' IPV6 first patch
Daniel
This commit is contained in:
Daniel Veillard
2001-01-03 18:02:04 +00:00
parent 081089848c
commit 45cff696cf
3 changed files with 45 additions and 10 deletions

View File

@ -925,6 +925,8 @@ htmlCheckParagraph(htmlParserCtxtPtr ctxt) {
ctxt->sax->startElement(ctxt->userData, BAD_CAST"p", NULL);
return(1);
}
if (!htmlOmittedDefaultValue)
return;
for (i = 0; htmlNoContentElements[i] != NULL; i++) {
if (xmlStrEqual(tag, BAD_CAST htmlNoContentElements[i])) {
#ifdef DEBUG