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: * htmlHandleOmittedElem:
* @val: int 0 or 1 * @val: int 0 or 1
* *
* DEPRECATED: Use HTML_PARSE_NOIMPLIED
*
* Set and return the previous value for handling HTML omitted tags. * Set and return the previous value for handling HTML omitted tags.
* *
* Returns the last value for 0 for no handling, 1 for auto insertion. * 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); int *inlen, int quoteChar);
XMLPUBFUN int XMLPUBFUN int
htmlIsScriptAttribute(const xmlChar *name); htmlIsScriptAttribute(const xmlChar *name);
XML_DEPRECATED
XMLPUBFUN int XMLPUBFUN int
htmlHandleOmittedElem(int val); htmlHandleOmittedElem(int val);

View File

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