message-text: Remove 'emoji' class on non-emoji messages
This commit is contained in:
parent
fe2ff7c79a
commit
50f3d1002e
1 changed files with 2 additions and 0 deletions
|
@ -218,6 +218,8 @@ impl MessageText {
|
|||
|
||||
if EMOJI_REGEX.is_match(text) {
|
||||
child.add_css_class("emoji");
|
||||
} else {
|
||||
child.remove_css_class("emoji");
|
||||
}
|
||||
|
||||
if use_markup {
|
||||
|
|
Loading…
Reference in a new issue