diff options
| author | postscriptum <postscriptum@project> | 2025-05-22 04:16:28 +0300 |
|---|---|---|
| committer | postscriptum <postscriptum@project> | 2025-05-22 04:16:28 +0300 |
| commit | e567736640da21d37848567cd164cb84bbdab507 (patch) | |
| tree | d57764aee8e3611eda49a05c79971ca595db8617 | |
| parent | 24105f6e9759b74c04522de1de12ddb77cfba568 (diff) | |
add missed replacement to the `content_match` function
| -rw-r--r-- | data.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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)); |