Improve RTL support in HTML-CSS

Add CSS to prevent browser interference
This commit is contained in:
Peter Krautzberger 2015-09-04 10:21:34 +02:00
parent 2639c8fd44
commit 593a393bfc

View File

@ -121,6 +121,9 @@ MathJax.Hub.Register.StartupHook("MathML Jax Ready",function () {
// No XSLT support. Do not change the <math> content.
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");
});