Add support for RTL languages

pull/21833/head
saul.kredi@krutt.org 2017-05-29 18:44:39 +03:00
parent 229eef4624
commit 4afba2f796
1 changed files with 1 additions and 1 deletions

View File

@ -360,7 +360,7 @@ export function bodyToHtml(content, highlights, opts) {
'mx_EventTile_bigEmoji': emojiBody,
'markdown-body': isHtml,
});
return <span className={className} dangerouslySetInnerHTML={{ __html: safeBody }} />;
return <span className={className} dangerouslySetInnerHTML={{ __html: safeBody }} dir="auto" />;
}
export function emojifyText(text) {