commit e567736

postscriptum  ·  2025-05-22 01:16:28 +0000 UTC
parent 24105f6
add missed replacement to the `content_match` function
1 files changed,  +1, -1
M data.c
M data.c
+1, -1
1@@ -2817,7 +2817,7 @@ int content_match(const char *file, const xs_dict *msg)
2             /* massage content (strip HTML tags, etc.) */
3             xs *c = xs_regex_replace(v, "<[^>]+>", " ");
4             c = xs_regex_replace_i(c, " {2,}", " ");
5-            c = xs_tolower_i(c);
6+            c = xs_utf8_to_lower(c);
7 
8             while (!r && !feof(f)) {
9                 xs *rx = xs_strip_i(xs_readline(f));