diff options
author | bptato <nincsnevem662@gmail.com> | 2022-11-25 23:15:49 +0100 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2022-11-25 23:16:39 +0100 |
commit | d54e0258fd794ad54b42acc51ec65d9c7297d908 (patch) | |
tree | 028ec9ce0dc9ba77d23bea2e3f86e4aabb527b4b /src/html | |
parent | 7ab7f28fdefe503fdde53ba9e253e308cb06b44f (diff) | |
download | chawan-d54e0258fd794ad54b42acc51ec65d9c7297d908.tar.gz |
Fix some table layout issues
Diffstat (limited to 'src/html')
-rw-r--r-- | src/html/htmlparser.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/html/htmlparser.nim b/src/html/htmlparser.nim index f28cd300..123d8ac7 100644 --- a/src/html/htmlparser.nim +++ b/src/html/htmlparser.nim @@ -1576,7 +1576,7 @@ proc processInHTMLContent(parser: var HTML5Parser, token: Token, insertionMode = of IN_CAPTION: match token: "</caption>" => (block: - if parser.openElements.hasElementInTableScope(TAG_CAPTION): + if not parser.openElements.hasElementInTableScope(TAG_CAPTION): parse_error else: parser.generateImpliedEndTags() |