-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Simple Mathjax blocks with a single function call display backwards #18
Comments
Update: this bug also manifests with a
This would also be fixed if there was anything else next to the |
@shadinaif @OmarIthawi just wanted to call out this bug, since it might be an easy fix given how simple the workaround is above! |
Thanks @barillax! That sounds like an interesting one. Not sure if we'll get to it soon. Let me know if this is a blocker issue, or if you have other issues. |
@OmarIthawi no worries, the |
This is an edge case, but I wanted to report it so you were aware (and maybe the fix is easy).
CodePen demonstrating the problem: https://codepen.io/barillax/pen/QodJPx
Summary:
If you have a block of MathJax that contains a single number with a bar over it, the number will be flipped horizontally.
I believe this is because the number gets nested inside a span with the
mfliph
class, but there's no additional surrounding container span that also hasmfliph
to "cancel out" the horizontal flipping.You can work around this by including an "empty character" via
{}
directly in front of the number, as shown in the above example. For some reason, this results in a surrounding container span element with themfliph
class, which fixes the issue.The text was updated successfully, but these errors were encountered: