digest text mode excerpt: use ellipsis fit for plain text
This commit is contained in:
parent
4e1eeb0488
commit
656475ec78
|
@ -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');
|
||||
|
||||
|
|
Loading…
Reference in New Issue