summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
a987db2)
Must still be improved somehow.
$this->out->elementStart('p', 'entry-content');
$this->out->text(mb_strlen($notice->content) > $this->maxchars
$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');
: $notice->content);
$this->out->elementEnd('p');