digest text mode: fix article excerpt source

This commit is contained in:
Andrew Dolgov 2019-03-26 08:08:50 +03:00
parent 59d0e35b7d
commit 4e1eeb0488
1 changed files with 1 additions and 1 deletions

View File

@ -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["excerpt"]), 300), true);
truncate_string(strip_tags($line["content"]), 300), true);
$tpl_t->addBlock('article');