Merge pull request #955 from Bitim/feature/rtl-languages-support

Add partial support for RTL languages
pull/21833/head
Kegsay 2017-05-31 14:11:24 +01:00 committed by GitHub
commit ecd58a00c6
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) {