From fdfdf20d085a7c705477d878c11ed208577facb1 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Mon, 19 Oct 2020 00:16:11 +0200 Subject: Revert tag name to previous after void tag end (such as
) --- include/HtmlParser.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') 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; -- cgit v1.2.3