mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-29 11:41:22 +03:00
html: Deprecate AutoClose API
This commit is contained in:
@ -1454,6 +1454,8 @@ htmlAutoClose(htmlParserCtxtPtr ctxt, const xmlChar * newtag)
|
||||
* @name: The tag name
|
||||
* @elem: the HTML element
|
||||
*
|
||||
* DEPRECATED: Internal function, don't use.
|
||||
*
|
||||
* The HTML DTD allows a tag to implicitly close other tags.
|
||||
* The list is kept in htmlStartClose array. This function checks
|
||||
* if the element or one of it's children would autoclose the
|
||||
@ -1481,6 +1483,8 @@ htmlAutoCloseTag(htmlDocPtr doc, const xmlChar *name, htmlNodePtr elem) {
|
||||
* @doc: the HTML document
|
||||
* @elem: the HTML element
|
||||
*
|
||||
* DEPRECATED: Internal function, don't use.
|
||||
*
|
||||
* The HTML DTD allows a tag to implicitly close other tags.
|
||||
* The list is kept in htmlStartClose array. This function checks
|
||||
* if a tag is autoclosed by one of it's child
|
||||
|
@ -96,9 +96,11 @@ XMLPUBFUN const htmlEntityDesc *
|
||||
XMLPUBFUN const htmlEntityDesc *
|
||||
htmlEntityValueLookup(unsigned int value);
|
||||
|
||||
XML_DEPRECATED
|
||||
XMLPUBFUN int
|
||||
htmlIsAutoClosed(htmlDocPtr doc,
|
||||
htmlNodePtr elem);
|
||||
XML_DEPRECATED
|
||||
XMLPUBFUN int
|
||||
htmlAutoCloseTag(htmlDocPtr doc,
|
||||
const xmlChar *name,
|
||||
|
@ -290,9 +290,11 @@ skip_impl = (
|
||||
)
|
||||
|
||||
deprecated_funcs = {
|
||||
'htmlAutoCloseTag': True,
|
||||
'htmlDefaultSAXHandlerInit': True,
|
||||
'htmlHandleOmittedElem': True,
|
||||
'htmlInitAutoClose': True,
|
||||
'htmlIsAutoClosed': True,
|
||||
'htmlParseCharRef': True,
|
||||
'htmlParseElement': True,
|
||||
'namePop': True,
|
||||
|
Reference in New Issue
Block a user