aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/HtmlParser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/HtmlParser.c b/src/HtmlParser.c
index 8972730..b4beee4 100644
--- a/src/HtmlParser.c
+++ b/src/HtmlParser.c
@@ -140,7 +140,7 @@ static int is_digit(char c) {
}
static int is_identifier_char(char c) {
- return is_alpha(c) || is_digit(c) || c == '-' || c == '_' || c == '!';
+ return is_alpha(c) || is_digit(c) || c == '-' || c == '_' || c == '!' || c == ':';
}
static void html_parser_try_append_unclosed_tag(HtmlParser *self, const char *data, size_t size) {