mirror of
https://github.com/php/php-src.git
synced 2024-09-22 10:27:25 +00:00
MFH: Fixed bug #34103 (line numbering not maintained in dom document)
This commit is contained in:
parent
bbd37d99e1
commit
8bdc4285aa
@ -1503,9 +1503,8 @@ static xmlDocPtr dom_document_parser(zval *id, int mode, char *source, int optio
|
||||
if (keep_blanks == 0 && ! (options & XML_PARSE_NOBLANKS)) {
|
||||
options |= XML_PARSE_NOBLANKS;
|
||||
}
|
||||
if (options > 0) {
|
||||
xmlCtxtUseOptions(ctxt, options);
|
||||
}
|
||||
|
||||
xmlCtxtUseOptions(ctxt, options);
|
||||
#else
|
||||
ctxt->validate = validate;
|
||||
ctxt->loadsubset = (resolve_externals * XML_COMPLETE_ATTRS);
|
||||
|
Loading…
Reference in New Issue
Block a user