summaryrefslogtreecommitdiff
path: root/update.php
diff options
context:
space:
mode:
Diffstat (limited to 'update.php')
-rwxr-xr-xupdate.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/update.php b/update.php
index 5e31c805b..4fd517701 100755
--- a/update.php
+++ b/update.php
@@ -317,7 +317,7 @@
while (true) {
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]);
$processed++;
}