aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpostscriptum <postscriptum@project>2025-05-22 04:16:28 +0300
committerpostscriptum <postscriptum@project>2025-05-22 04:16:28 +0300
commite567736640da21d37848567cd164cb84bbdab507 (patch)
treed57764aee8e3611eda49a05c79971ca595db8617
parent24105f6e9759b74c04522de1de12ddb77cfba568 (diff)
add missed replacement to the `content_match` function
-rw-r--r--data.c2
1 files changed, 1 insertions, 1 deletions
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));