aboutsummaryrefslogtreecommitdiff
path: root/include/HtmlParser.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/HtmlParser.h')
-rw-r--r--include/HtmlParser.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/HtmlParser.h b/include/HtmlParser.h
index a60e6d5..fc3ff3a 100644
--- a/include/HtmlParser.h
+++ b/include/HtmlParser.h
@@ -38,10 +38,11 @@ struct HtmlParser {
HtmlStringView attribute_key;
HtmlStringView attribute_value;
HtmlStringView text;
+ /* Only used when parse_type is HTML_PARSE_TEXT */
+ HtmlStringView text_stripped;
int is_tag_void;
int inside_script_tag;
- int pre_tag_depth;
size_t unclosed_tags_offset;
HtmlStringView unclosed_tags[UNCLOSED_TAGS_SIZE];