From 656475ec78b2139ce43f547968e1d73143bd5c26 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 26 Mar 2019 08:51:36 +0300 Subject: [PATCH] digest text mode excerpt: use ellipsis fit for plain text --- classes/digest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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');