Allow TR, TH, TD tags inside THEAD and TFOOT
This commit is contained in:
parent
d03b5891c1
commit
c02be0fe00
1 changed files with 49 additions and 49 deletions
|
|
@ -468,7 +468,7 @@ proc untilElementEnd(x: var XmlParser, result: XmlNode,
|
|||
tagOption}:
|
||||
errors.add(expected(x, result))
|
||||
break
|
||||
of tagTd, tagTh, tagTfoot, tagThead:
|
||||
of tagTd, tagTh:
|
||||
if htmlTag(x.elemName) in {tagTr, tagTd, tagTh, tagTfoot, tagThead}:
|
||||
errors.add(expected(x, result))
|
||||
break
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue