mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-15 12:05:57 +00:00
digest text mode excerpt: use ellipsis fit for plain text
This commit is contained in:
@@ -193,7 +193,7 @@ class Digest
|
|||||||
$tpl_t->setVariable('ARTICLE_UPDATED', $updated);
|
$tpl_t->setVariable('ARTICLE_UPDATED', $updated);
|
||||||
$tpl_t->setVariable('ARTICLE_LABELS', $article_labels_formatted, true);
|
$tpl_t->setVariable('ARTICLE_LABELS', $article_labels_formatted, true);
|
||||||
$tpl_t->setVariable('ARTICLE_EXCERPT',
|
$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');
|
$tpl_t->addBlock('article');
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user