mirror of https://tt-rss.org/git/tt-rss.git
also use html2text when generating index using CLI
This commit is contained in:
parent
9f72616818
commit
9d07d37b6d
|
@ -317,7 +317,7 @@
|
||||||
|
|
||||||
while (true) {
|
while (true) {
|
||||||
foreach ($entries as $entry) {
|
foreach ($entries as $entry) {
|
||||||
$tsvector_combined = mb_substr(strip_tags($entry->title . " " . $entry->content), 0, 1000000);
|
$tsvector_combined = mb_substr(strip_tags($entry->title) . " " . \Soundasleep\Html2Text::convert($entry->content), 0, 900000);
|
||||||
$usth->execute([$tsvector_combined, $entry->id]);
|
$usth->execute([$tsvector_combined, $entry->id]);
|
||||||
$processed++;
|
$processed++;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue