From 4a405f572809da1f7aa6ee55a729c82a67a0f3c9 Mon Sep 17 00:00:00 2001 From: DEC05EBA Date: Mon, 6 Jan 2020 02:20:43 +0100 Subject: Support rss with colon in tag name --- src/HtmlParser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- cgit v1.2.3