aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2020-10-19 00:16:11 +0200
committerdec05eba <dec05eba@protonmail.com>2020-10-19 00:16:11 +0200
commitfdfdf20d085a7c705477d878c11ed208577facb1 (patch)
tree3f57157c297faabf224997e00523d7070f0de6af /include
parent9b45f8fe806b78300109274e4c951f894ffbac70 (diff)
Revert tag name to previous after void tag end (such as <br>)
Diffstat (limited to 'include')
-rw-r--r--include/HtmlParser.h2
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;