Unified usage of the horizontal ellipsis character
authorMarcel Werk <burntime@woltlab.com>
Sat, 29 Dec 2012 02:58:07 +0000 (03:58 +0100)
committerMarcel Werk <burntime@woltlab.com>
Sat, 29 Dec 2012 02:58:07 +0000 (03:58 +0100)
files/lib/data/conversation/message/ConversationMessage.class.php

index cb01c272577fe4135d1155adfdcbd4453a257ff5..f9b563e475a6a6b0b5e11b97936652cfd84dec9b 100644 (file)
@@ -53,7 +53,7 @@ class ConversationMessage extends DatabaseObject implements IMessage {
                MessageParser::getInstance()->setOutputType('text/plain');
                $message = MessageParser::getInstance()->parse($this->message, $this->enableSmilies, $this->enableHtml, $this->enableBBCodes);
                if (StringUtil::length($message) > $maxLength) {
-                       $message = StringUtil::encodeHTML(StringUtil::substring($message, 0, $maxLength)).'&hellip;';
+                       $message = StringUtil::encodeHTML(StringUtil::substring($message, 0, $maxLength)).StringUtil::HELLIP;
                }
                else {
                        $message = StringUtil::encodeHTML($message);