mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-29 11:41:22 +03:00
@ -6992,7 +6992,7 @@ htmlReadMemory(const char *buffer, int size, const char *URL, const char *encodi
|
|||||||
htmlParserCtxtPtr ctxt;
|
htmlParserCtxtPtr ctxt;
|
||||||
|
|
||||||
xmlInitParser();
|
xmlInitParser();
|
||||||
ctxt = xmlCreateMemoryParserCtxt(buffer, size);
|
ctxt = htmlCreateMemoryParserCtxt(buffer, size);
|
||||||
if (ctxt == NULL)
|
if (ctxt == NULL)
|
||||||
return (NULL);
|
return (NULL);
|
||||||
htmlDefaultSAXHandlerInit();
|
htmlDefaultSAXHandlerInit();
|
||||||
|
Reference in New Issue
Block a user