commit e567736640da21d37848567cd164cb84bbdab507
parent 24105f6e9759b74c04522de1de12ddb77cfba568
Author: postscriptum <postscriptum@project>
Date: Thu, 22 May 2025 04:16:28 +0300
add missed replacement to the `content_match` function
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/data.c b/data.c
@@ -2817,7 +2817,7 @@ int content_match(const char *file, const xs_dict *msg)
/* massage content (strip HTML tags, etc.) */
xs *c = xs_regex_replace(v, "<[^>]+>", " ");
c = xs_regex_replace_i(c, " {2,}", " ");
- c = xs_tolower_i(c);
+ c = xs_utf8_to_lower(c);
while (!r && !feof(f)) {
xs *rx = xs_strip_i(xs_readline(f));