diff options
author | dec05eba <dec05eba@protonmail.com> | 2020-10-19 00:16:11 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-10-19 00:16:11 +0200 |
commit | fdfdf20d085a7c705477d878c11ed208577facb1 (patch) | |
tree | 3f57157c297faabf224997e00523d7070f0de6af /include | |
parent | 9b45f8fe806b78300109274e4c951f894ffbac70 (diff) |
Revert tag name to previous after void tag end (such as <br>)
Diffstat (limited to 'include')
-rw-r--r-- | include/HtmlParser.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/HtmlParser.h b/include/HtmlParser.h index 7536777..6a295aa 100644 --- a/include/HtmlParser.h +++ b/include/HtmlParser.h @@ -34,12 +34,14 @@ struct HtmlParser { HtmlParseCallback parse_callback; void *callback_userdata; + /* The name of the current enclosing tag */ HtmlStringView tag_name; HtmlStringView attribute_key; HtmlStringView attribute_value; HtmlStringView text; HtmlStringView text_stripped; + HtmlStringView tag_before_void_tag; int is_tag_void; int inside_script_tag; |