www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 593a393bfc6d551c0e659c2d230d995136c49210
parent 2639c8fd443480a371598a5fc84d0b434ae29ee9
Author: Peter Krautzberger <p.krautzberger@gmail.com>
Date:   Fri,  4 Sep 2015 10:21:34 +0200

Improve RTL support in HTML-CSS

Add CSS to prevent browser interference
Diffstat:
Munpacked/extensions/MathML/mml3.js | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/unpacked/extensions/MathML/mml3.js b/unpacked/extensions/MathML/mml3.js @@ -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"); });