From: Mikael Nordfeldth Date: Mon, 11 Nov 2013 12:18:23 +0000 (+0100) Subject: Slightly better indication that notice section shows incomplete text X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=0a93fa68f312eda3018fb8410b87f1d31836a78e;p=quix0rs-gnu-social.git Slightly better indication that notice section shows incomplete text Must still be improved somehow. --- 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');