1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2026-01-26 21:41:34 +03:00

html: Call lower-level escaping functions

Removes the need to pass a document around.
This commit is contained in:
Nick Wellnhofer
2025-05-09 20:26:33 +02:00
parent 63535d3922
commit 971038e59f
5 changed files with 40 additions and 36 deletions

View File

@@ -22,7 +22,7 @@ XML_HIDDEN int
htmlParseContentType(const xmlChar *val, htmlMetaEncodingOffsets *off);
XML_HIDDEN void
htmlNodeDumpInternal(xmlOutputBufferPtr buf, xmlDocPtr doc, xmlNodePtr cur,
htmlNodeDumpInternal(xmlOutputBufferPtr buf, xmlNodePtr cur,
const char *encoding, int format);
#endif /* LIBXML_HTML_ENABLED */

View File

@@ -19,4 +19,7 @@ xmlStaticCopyNodeList(xmlNodePtr node, xmlDocPtr doc, xmlNodePtr parent);
XML_HIDDEN const xmlChar *
xmlSplitQName4(const xmlChar *name, xmlChar **prefixPtr);
XML_HIDDEN xmlChar *
xmlNodeListGetStringInternal(const xmlNode *node, int escape, int flags);
#endif /* XML_TREE_H_PRIVATE__ */