diff options
Diffstat (limited to 'app')
| -rw-r--r-- | app/views/helpers/index/normal/entry_header.phtml | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/app/views/helpers/index/normal/entry_header.phtml b/app/views/helpers/index/normal/entry_header.phtml index 6968bae85..38d81f5c9 100644 --- a/app/views/helpers/index/normal/entry_header.phtml +++ b/app/views/helpers/index/normal/entry_header.phtml @@ -62,9 +62,7 @@ ?></span><?php endif; if ($topline_summary): - ?><div class="summary"> - <?= mb_substr(strip_tags($this->entry->content()), 0, 500, 'UTF-8') ?> - </div><?php + ?><div class="summary"><?= trim(mb_substr(strip_tags($this->entry->content()), 0, 500, 'UTF-8')) ?></div><?php endif; ?></a></li> <?php if ($topline_date) { ?><li class="item date"><time datetime="<?= $this->entry->machineReadableDate() ?>"><?= $this->entry->date() ?></time> </li><?php } ?> |
