tesseract OCR support for spamfilters

This commit is contained in:
czaks committed 2016-06-09 11:09:10 +02:00
1 parent 36d762514c
commit 8a46c7a0d5
4 files changed
+52 -6

No files matched your search

+1 -1
View File
@@ -2695,7 +2695,7 @@ function slugify($post) {
elseif (isset ($post['body_nomarkup']) && $post['body_nomarkup'])
$slug = $post['body_nomarkup'];
elseif (isset ($post['body']) && $post['body'])
$slug = strip_html($post['body']);
$slug = strip_tags($post['body']);
// Fix UTF-8 first
$slug = mb_convert_encoding($slug, "UTF-8", "UTF-8");