Skip to content

Commit

Permalink
Fix typo in reset_mode
Browse files Browse the repository at this point in the history
  • Loading branch information
smondet authored and tysg committed Dec 6, 2024
1 parent 555f013 commit 8dc1560
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/html_parser.ml
Original file line number Diff line number Diff line change
Expand Up @@ -1121,7 +1121,7 @@ let parse requested_context report (tokens, set_tokenizer_state, set_foreign) =
| _::ancestors -> iterate' ancestors
in
iterate' ancestors
| {element_name = _, ("tr" | "th")}::_::_ -> in_cell_mode
| {element_name = _, ("td" | "th")}::_::_ -> in_cell_mode
| {element_name = _, "tr"}::_ -> in_row_mode
| {element_name = _, ("tbody" | "thead" | "tfoot")}::_ ->
in_table_body_mode
Expand Down

0 comments on commit 8dc1560

Please sign in to comment.