mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-03-11 12:58:16 +03:00
html: Fix areBlanks check
Short-lived regression from 71122421.
This commit is contained in:
parent
98776424a8
commit
8873a49846
@ -2973,7 +2973,7 @@ htmlCharDataSAXCallback(htmlParserCtxtPtr ctxt, const xmlChar *buf,
|
||||
|
||||
if ((mode == 0) &&
|
||||
(!ctxt->keepBlanks) &&
|
||||
(areBlanks(ctxt, buf, size))) {
|
||||
(areBlanks(ctxt, buf, size) > 0)) {
|
||||
if (ctxt->sax->ignorableWhitespace != NULL)
|
||||
ctxt->sax->ignorableWhitespace(ctxt->userData, buf, size);
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user