Skip to content

Commit 3d18211

Browse files
committed
Update HtmlEmoji.php
1 parent 170c0da commit 3d18211

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Ajax/semantic/html/elements/HtmlEmoji.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ public function getEmoji() {
3232
*/
3333
public function setEmoji($emoji) {
3434
if (isset($this->_emoji)) {
35-
$this->removePropertyValue("data-emoji", $this->_emoji);
35+
$this->removePropertyValue("data-emoji", ":{$this->_emoji}:");
3636
}
3737
$this->_emoji=$emoji;
38-
$this->addToProperty("data-emoji", $emoji);
38+
$this->addToProperty("data-emoji", ":{$emoji}:");
3939
return $this;
4040
}
4141

0 commit comments

Comments
 (0)