about summary refs log tree commit diff stats
path: root/src/html
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2022-12-07 20:14:03 +0100
committerbptato <nincsnevem662@gmail.com>2022-12-07 20:14:03 +0100
commitffdd785de6141b8b779e5c958215ec34962f7726 (patch)
treed1d4024be058f39318de17437f2c119c21a25871 /src/html
parentcbe4d8faa1b0de9b01048ad094bb8e8295ea7653 (diff)
downloadchawan-ffdd785de6141b8b779e5c958215ec34962f7726.tar.gz
htmlparser: fix bug where tokens wouldn't be reprocessed after close_cell
Diffstat (limited to 'src/html')
-rw-r--r--src/html/htmlparser.nim1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/html/htmlparser.nim b/src/html/htmlparser.nim
index e1359201..65da5c4e 100644
--- a/src/html/htmlparser.nim
+++ b/src/html/htmlparser.nim
@@ -1757,6 +1757,7 @@ proc processInHTMLContent(parser: var HTML5Parser, token: Token, insertionMode =
           parse_error
         else:
           close_cell
+          reprocess token
       )
       ("</body>", "</caption>", "</col>", "</colgroup>",
        "</html>") => (block: parse_error)