diff options
Diffstat (limited to '')
| -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) | |||
| 2817 | /* massage content (strip HTML tags, etc.) */ | 2817 | /* massage content (strip HTML tags, etc.) */ |
| 2818 | xs *c = xs_regex_replace(v, "<[^>]+>", " "); | 2818 | xs *c = xs_regex_replace(v, "<[^>]+>", " "); |
| 2819 | c = xs_regex_replace_i(c, " {2,}", " "); | 2819 | c = xs_regex_replace_i(c, " {2,}", " "); |
| 2820 | c = xs_tolower_i(c); | 2820 | c = xs_utf8_to_lower(c); |
| 2821 | 2821 | ||
| 2822 | while (!r && !feof(f)) { | 2822 | while (!r && !feof(f)) { |
| 2823 | xs *rx = xs_strip_i(xs_readline(f)); | 2823 | xs *rx = xs_strip_i(xs_readline(f)); |