diff options
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 866c9249..a12ee282 100644 --- a/src/html/htmlparser.nim +++ b/src/html/htmlparser.nim @@ -2291,7 +2291,7 @@ proc processInHTMLContent[Handle](parser: var HTML5Parser[Handle], parser.insertionMode = IN_ROW ) ("<caption>", "<col>", "<colgroup>", "<tbody>", "<td>", "<tfoot>", - "<thead>", "<tr>") => (block: + "<th>", "<thead>", "<tr>") => (block: if not parser.hasElementInTableScope({TAG_TD, TAG_TH}): parse_error ELEMENT_NOT_IN_SCOPE else: |