We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ee73cc commit 9404411Copy full SHA for 9404411
ext/dom/html_document.c
@@ -752,7 +752,7 @@ static bool dom_parse_decode_encode_finish(
752
753
static bool check_options_validity(uint32_t arg_num, zend_long options)
754
{
755
- const zend_long VALID_OPTIONS = XML_PARSE_NOERROR | XML_PARSE_COMPACT | HTML_PARSE_NOIMPLIED | DOM_HTML_NO_DEFAULT_NS;
+ const zend_long VALID_OPTIONS = HTML_PARSE_NOERROR | HTML_PARSE_COMPACT | HTML_PARSE_NOIMPLIED | DOM_HTML_NO_DEFAULT_NS;
756
if ((options & ~VALID_OPTIONS) != 0) {
757
zend_argument_value_error(arg_num, "contains invalid flags (allowed flags: "
758
"LIBXML_NOERROR, "
0 commit comments