diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/html.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/html.cc b/src/html.cc index a367fe44..a8d10a47 100644 --- a/src/html.cc +++ b/src/html.cc @@ -3382,6 +3382,8 @@ static void Html_process_tag(DilloHtml *html, char *tag, int tagsize) /* Call the open function for this tag */ _MSG("Open : %s\n", Tags[ni].name); Tags[ni].open (html, tag, tagsize); + if (html->stop_parser) + break; /* Request inmediate close for elements with forbidden close tag. */ /* TODO: XHTML always requires close tags. A simple implementation |