summaryrefslogtreecommitdiff
path: root/classes/digest.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2019-03-26 08:51:36 +0300
committerAndrew Dolgov <[email protected]>2019-03-26 08:51:36 +0300
commit656475ec78b2139ce43f547968e1d73143bd5c26 (patch)
tree9341c29e32766e6490a551d544d1c7694f27ca25 /classes/digest.php
parent4e1eeb04884ef9bc43bfda408e6bbe0089c39cb8 (diff)
digest text mode excerpt: use ellipsis fit for plain text
Diffstat (limited to 'classes/digest.php')
-rw-r--r--classes/digest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/digest.php b/classes/digest.php
index 197f11c99..f2533d160 100644
--- a/classes/digest.php
+++ b/classes/digest.php
@@ -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');