From e567736640da21d37848567cd164cb84bbdab507 Mon Sep 17 00:00:00 2001 From: postscriptum Date: Thu, 22 May 2025 04:16:28 +0300 Subject: add missed replacement to the `content_match` function --- data.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data.c b/data.c index d5dc171..8ca271d 100644 --- 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)); -- cgit v1.2.3