about summary refs log tree commit diff stats
path: root/src/html
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2023-04-08 23:31:53 +0200
committerbptato <nincsnevem662@gmail.com>2023-04-08 23:33:35 +0200
commit49f5d9abeb6c0c1de0f44ff45ade07e77d9d0554 (patch)
tree364de623e57d6631f3db60e5c2234708cfb7de14 /src/html
parent64d96d51bf6603e88d315979212e2985225a3712 (diff)
downloadchawan-49f5d9abeb6c0c1de0f44ff45ade07e77d9d0554.tar.gz
htmlparser: add missing reprocess token for tr
This makes tr work correctly without tbody.
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 03e0e015..8cd34cd9 100644
--- a/src/html/htmlparser.nim
+++ b/src/html/htmlparser.nim
@@ -1574,6 +1574,7 @@ proc processInHTMLContent(parser: var HTML5Parser, token: Token, insertionMode =
         clear_the_stack_back_to_a_table_context
         discard parser.insertHTMLElement(Token(t: START_TAG, tagtype: TAG_TBODY))
         parser.insertionMode = IN_TABLE_BODY
+        reprocess token
       )
       "<table>" => (block:
         parse_error