From 0a93fa68f312eda3018fb8410b87f1d31836a78e Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Mon, 11 Nov 2013 13:18:23 +0100 Subject: [PATCH] Slightly better indication that notice section shows incomplete text Must still be improved somehow. --- lib/noticesection.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/noticesection.php b/lib/noticesection.php index 35423e4f9b..4a4eac344a 100644 --- a/lib/noticesection.php +++ b/lib/noticesection.php @@ -101,7 +101,7 @@ class NoticeSection extends Section $this->out->elementStart('p', 'entry-content'); $this->out->text(mb_strlen($notice->content) > $this->maxchars - ? mb_substr($notice->content, 0, $this->maxchars) . '…' + ? mb_substr($notice->content, 0, $this->maxchars) . '[…]' : $notice->content); $this->out->elementEnd('p');