1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-29 11:41:22 +03:00

html: Deprecate htmlHandleOmittedElem

This commit is contained in:
Nick Wellnhofer
2024-04-28 17:54:20 +02:00
parent 63ce5f9aed
commit 05654cfe00
3 changed files with 4 additions and 0 deletions

View File

@ -5996,6 +5996,8 @@ htmlParseFile(const char *filename, const char *encoding) {
* htmlHandleOmittedElem:
* @val: int 0 or 1
*
* DEPRECATED: Use HTML_PARSE_NOIMPLIED
*
* Set and return the previous value for handling HTML omitted tags.
*
* Returns the last value for 0 for no handling, 1 for auto insertion.

View File

@ -168,6 +168,7 @@ XMLPUBFUN int
int *inlen, int quoteChar);
XMLPUBFUN int
htmlIsScriptAttribute(const xmlChar *name);
XML_DEPRECATED
XMLPUBFUN int
htmlHandleOmittedElem(int val);

View File

@ -291,6 +291,7 @@ skip_impl = (
deprecated_funcs = {
'htmlDefaultSAXHandlerInit': True,
'htmlHandleOmittedElem': True,
'htmlInitAutoClose': True,
'htmlParseCharRef': True,
'htmlParseElement': True,