(bug 28430) Make HTML and TeX output of <math> tags be LTR always
authorBrian Wolff <bawolff@users.mediawiki.org>
Tue, 5 Apr 2011 19:51:22 +0000 (19:51 +0000)
committerBrian Wolff <bawolff@users.mediawiki.org>
Tue, 5 Apr 2011 19:51:22 +0000 (19:51 +0000)
commit0a9b4efd973d321a94372c337e71a51266376562
tree076a5449be220576be39e72986d431b07e86e4d3
parent7fc4255afe7ee277434e6617d877da82ca02e125
(bug 28430) Make HTML and TeX output of <math> tags be LTR always

The PNG output of <math> is always LTR regardless of content language,
and since we switch back and forth between PNG/html depending on
how complicated the formula is, we should be consistent. Also according to
the bug always doing LTR even on RTL langs is appearently correct behaviour.

Also change for plain TeX output to be LTR, as otherwise the TeX commands
don't really make sense if $ ^{355} $ gets turned into $ {355}^ $
RELEASE-NOTES
includes/Math.php