소스 검색

add missed replacement to the `content_match` function

postscriptum 1 년 전
부모
커밋
e567736640
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      data.c

+ 1 - 1
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));