We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d18211 commit 6d96d67Copy full SHA for 6d96d67
Ajax/semantic/html/elements/HtmlEmoji.php
@@ -31,11 +31,12 @@ public function getEmoji() {
31
* @return HtmlEmoji
32
*/
33
public function setEmoji($emoji) {
34
+ $emoji=":{$emoji}:";
35
if (isset($this->_emoji)) {
- $this->removePropertyValue("data-emoji", ":{$this->_emoji}:");
36
+ $this->removePropertyValue("data-emoji", $this->_emoji);
37
}
38
$this->_emoji=$emoji;
- $this->addToProperty("data-emoji", ":{$emoji}:");
39
+ $this->addToProperty("data-emoji", $emoji);
40
return $this;
41
42
0 commit comments