From 49f5d9abeb6c0c1de0f44ff45ade07e77d9d0554 Mon Sep 17 00:00:00 2001 From: bptato Date: Sat, 8 Apr 2023 23:31:53 +0200 Subject: htmlparser: add missing reprocess token for tr This makes tr work correctly without tbody. --- src/html/htmlparser.nim | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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 ) "" => (block: parse_error -- cgit 1.4.1-2-gfad0