Inline math doesn't work for RTL languages
Summary
When writing an RTL language in a markdown file and using inline math (using " $` ... `$ "), the math expression is displayed in RTL direction as well.
Steps to reproduce
Example:
This expression, a = \sum x
, works properly.
הביטוי הזה, a = \sum x
, לא עובד טוב.
The expression should be displayed the same in both languages (i.e. LTR).
What is the current bug behavior?
Shown above.
What is the expected correct behavior?
הביטוי הזה, a = \sum x
, דווקא כן עובד טוב.
This time I've manually added "<span dir="ltr"> ... </span>" around the math expression.
Output of checks
This bug happens in GitLab.com !
Possible fixes
Automatically add "<span dir="ltr"> ... </span>" around the inline math expression, so it renders properly in every language.
Edited by 🤖 GitLab Bot 🤖