mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-22 06:51:21 +02:00
Merge pull request #955 from Bitim/feature/rtl-languages-support
Add partial support for RTL languages
This commit is contained in:
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…
x
Reference in New Issue
Block a user