diff options
| author | Andrew Dolgov <noreply@fakecake.org> | 2019-03-26 08:51:36 +0300 |
|---|---|---|
| committer | Andrew Dolgov <noreply@fakecake.org> | 2019-03-26 08:51:36 +0300 |
| commit | 656475ec78b2139ce43f547968e1d73143bd5c26 (patch) | |
| tree | 9341c29e32766e6490a551d544d1c7694f27ca25 | |
| parent | 4e1eeb04884ef9bc43bfda408e6bbe0089c39cb8 (diff) | |
digest text mode excerpt: use ellipsis fit for plain text
| -rw-r--r-- | classes/digest.php | 2 |
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'); |