mirror of https://github.com/vector-im/riot-web
Merge pull request #955 from Bitim/feature/rtl-languages-support
Add partial support for RTL languagespull/21833/head
commit
ecd58a00c6
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue