1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 18:45:56 +00:00

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

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');