diff options
author | bptato <nincsnevem662@gmail.com> | 2023-04-08 23:31:53 +0200 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2023-04-08 23:33:35 +0200 |
commit | 49f5d9abeb6c0c1de0f44ff45ade07e77d9d0554 (patch) | |
tree | 364de623e57d6631f3db60e5c2234708cfb7de14 /src/html | |
parent | 64d96d51bf6603e88d315979212e2985225a3712 (diff) | |
download | chawan-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.nim | 1 |
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 |