Merge pull request #955 from Bitim/feature/rtl-languages-support
Add partial support for RTL languages
This commit is contained in:
commit
ecd58a00c6
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue