aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/HtmlParser.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/HtmlParser.c b/src/HtmlParser.c
index e0b5599..287f322 100644
--- a/src/HtmlParser.c
+++ b/src/HtmlParser.c
@@ -412,11 +412,6 @@ static int html_parser_parse_tag_start(HtmlParser *self) {
res = self->parse_callback(self, HTML_PARSE_TAG_START, self->callback_userdata);
if(res != 0)
return res;
- if(self->is_tag_void) {
- res = self->parse_callback(self, HTML_PARSE_TAG_END, self->callback_userdata);
- if(res != 0)
- return res;
- }
}
} else if(c == '\0') {
return 0;