mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-03-27 18:50:07 +03:00
html: Don't invoke SAX callbacks if parser was stopped
This commit is contained in:
parent
6dfa68ac7f
commit
5ed4eafd8a
@ -2962,6 +2962,9 @@ htmlCharDataSAXCallback(htmlParserCtxtPtr ctxt, const xmlChar *buf,
|
||||
return;
|
||||
|
||||
htmlStartCharData(ctxt);
|
||||
|
||||
if (PARSER_STOPPED(ctxt))
|
||||
return;
|
||||
}
|
||||
|
||||
if ((mode == 0) &&
|
||||
|
Loading…
x
Reference in New Issue
Block a user