switch to html2text() instead of strip_tags() when preparing FTS index
This commit is contained in:
@@ -1184,7 +1184,7 @@ class RSSUtils {
|
||||
|
||||
if (Config::get(Config::DB_TYPE) == "pgsql") {
|
||||
$params[":ts_lang"] = $feed_language;
|
||||
$params[":ts_content"] = mb_substr(strip_tags($entry_title . " " . $entry_content), 0, 900000);
|
||||
$params[":ts_content"] = mb_substr(strip_tags($entry_title) . " " . \Soundasleep\Html2Text::convert($entry_content), 0, 900000);
|
||||
}
|
||||
|
||||
$sth->execute($params);
|
||||
|
||||
Reference in New Issue
Block a user