commit | d0f7f74b47ec39e0ab85c8424f058255b8179fb2 | [log] [tgz] |
---|---|---|
author | Daniel Veillard <veillard@src.gnome.org> | Wed Feb 02 17:42:48 2000 +0000 |
committer | Daniel Veillard <veillard@src.gnome.org> | Wed Feb 02 17:42:48 2000 +0000 |
tree | 4356a31ed55d04d2b2248d81473f270f2ac76447 | |
parent | 5feb8495f4419f280a9503a97de18d28ffee3b40 [diff] [blame] |
Do a bit of bufferization in text mode, Daniel
diff --git a/HTMLparser.c b/HTMLparser.c index a1fdac5..080b9ed 100644 --- a/HTMLparser.c +++ b/HTMLparser.c
@@ -3527,7 +3527,8 @@ fprintf(stderr, "HPP: pushed %d\n", size); #endif - htmlParseTryOrFinish(ctxt, terminate); + if ((terminate) || (ctxt->input->buf->buffer->use > 80)) + htmlParseTryOrFinish(ctxt, terminate); } else if (ctxt->instate != XML_PARSER_EOF) htmlParseTryOrFinish(ctxt, terminate); if (terminate) {