aboutsummaryrefslogtreecommitdiff
path: root/src/HtmlParser.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/HtmlParser.c')
-rw-r--r--src/HtmlParser.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/HtmlParser.c b/src/HtmlParser.c
index 5f57dd3..31a5e70 100644
--- a/src/HtmlParser.c
+++ b/src/HtmlParser.c
@@ -211,6 +211,7 @@ static int is_attribute_value_char(char c) {
case '<':
case '>':
case '&':
+ case '\0':
return 0;
default:
return 1;
@@ -229,6 +230,7 @@ static int is_identifier_char(char c) {
case '>':
case '/':
case '=':
+ case '\0':
return 0;
default:
return 1;