try to fix xmlParseInNodeContext when operating on an HTML document.
* HTMLparser.c libxml.h parser.c: try to fix xmlParseInNodeContext
when operating on an HTML document.
Daniel
diff --git a/HTMLparser.c b/HTMLparser.c
index 12afdd8..5cbc904 100644
--- a/HTMLparser.c
+++ b/HTMLparser.c
@@ -3753,10 +3753,8 @@
/**
* htmlParseContent:
* @ctxt: an HTML parser context
- * @name: the node name
*
* Parse a content: comment, sub-element, reference or text.
- *
*/
static void
@@ -3875,6 +3873,19 @@
}
/**
+ * htmlParseContent:
+ * @ctxt: an HTML parser context
+ *
+ * Parse a content: comment, sub-element, reference or text.
+ */
+
+void
+__htmlParseContent(void *ctxt) {
+ if (ctxt != NULL)
+ htmlParseContent((htmlParserCtxtPtr) ctxt);
+}
+
+/**
* htmlParseElement:
* @ctxt: an HTML parser context
*