Use the correct line-height for bold emoji

This avoids marking messages detected as big emoji with `markdown-body` so that
they get the correct line-height.

Fixes https://github.com/vector-im/riot-web/issues/9808
pull/21833/head
J. Ryan Stinnett 2019-05-23 10:22:30 +01:00
parent e44f3b65e6
commit ab4dfd8d1b
1 changed files with 1 additions and 1 deletions

View File

@ -469,7 +469,7 @@ export function bodyToHtml(content, highlights, opts={}) {
const className = classNames({
'mx_EventTile_body': true,
'mx_EventTile_bigEmoji': emojiBody,
'markdown-body': isHtmlMessage,
'markdown-body': isHtmlMessage && !emojiBody,
});
return isDisplayedWithHtml ?