Improve RTL support in HTML-CSS
Add CSS to prevent browser interference
This commit is contained in:
parent
2639c8fd44
commit
593a393bfc
|
@ -122,6 +122,9 @@ MathJax.Hub.Register.StartupHook("MathML Jax Ready",function () {
|
|||
MATHML.mml3XSLT = null;
|
||||
}
|
||||
|
||||
// Tweak CSS to avoid some browsers rearranging HTML output
|
||||
MathJax.Ajax.Styles(".MathJax span { direction: ltr !important; display: inline-block !important;}");
|
||||
|
||||
MathJax.Hub.Startup.signal.Post("MathML mml3.js Ready");
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user