digest text mode excerpt: use ellipsis fit for plain text

This commit is contained in:
Andrew Dolgov 2019-03-26 08:51:36 +03:00
parent 4e1eeb0488
commit 656475ec78
1 changed files with 1 additions and 1 deletions

View File

@ -193,7 +193,7 @@ class Digest
$tpl_t->setVariable('ARTICLE_UPDATED', $updated);
$tpl_t->setVariable('ARTICLE_LABELS', $article_labels_formatted, true);
$tpl_t->setVariable('ARTICLE_EXCERPT',
truncate_string(strip_tags($line["content"]), 300), true);
truncate_string(strip_tags($line["content"]), 300, "..."), true);
$tpl_t->addBlock('article');