diff options
author | DEC05EBA <dec05eba@protonmail.com> | 2020-01-06 02:20:43 +0100 |
---|---|---|
committer | DEC05EBA <dec05eba@protonmail.com> | 2020-01-06 02:20:43 +0100 |
commit | 4a405f572809da1f7aa6ee55a729c82a67a0f3c9 (patch) | |
tree | 12c6dcb09f20c4a12527ae6a857fdb9e26f4472d | |
parent | fd5527bade00b4692eedb14a801527ceeb342d7c (diff) |
Support rss with colon in tag name
-rw-r--r-- | src/HtmlParser.c | 2 |
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) { |