]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/noticesection.php
Slightly better indication that notice section shows incomplete text
[quix0rs-gnu-social.git] / lib / noticesection.php
index 35423e4f9bd35728319ce7c8b320b1ff78637ddc..4a4eac344a3b95e955e5bcd22fa26eeb19113a50 100644 (file)
@@ -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');