Re: New MathML option available in Wikipedia

Vincent Lefevre <[email protected]> Fri, 4 May 2012 02:52:51 +0200
Newsgroups gmane.comp.mozilla.devel.mathml
Message-ID <[email protected]>
Hi,

On 2012-05-03 20:41:09 +0200, Frédéric Wang wrote:
> Today, a new Math rendering mode has been added to Wikipedia. You need a
> Wikipedia account to use it. In My preferences => Appearance => Math, choose
> "MathJax". Once enabled, MathJax's HTML-CSS output will be used by default.
> If you want to use MathML instead, right click on a formula and choose "Math
> Settings => Math Renderer => MathML".

This doesn't seem to work correctly in Firefox 10. An example:

http://en.wikipedia.org/wiki/Interval_%28mathematics%29#Excluding_the_endpoints

where I get some "amp;" and "lt;". The source shows:

<span class="tex" dir="ltr">$ \begin{align} (a,b) &amp;amp;= &amp;amp;]a,b[ &amp;amp;= \{x\in\R\,|\,a&amp;lt;x&amp;lt;b\}, \\{} [a,b) &amp;amp;= &amp;amp;[a,b[ &amp;amp;=\{x\in\R\,|\,a\le x&amp;lt;b\}, \\ (a,b] &amp;amp;= &amp;amp;]a,b] &amp;amp;= \{x\in\R\,|\,a&amp;lt;x\le b\}, \\{} [a,b] &amp;amp; &amp;amp; &amp;amp;= \{x\in\R\,|\,a\le x\le b\}. \end{align} $</span>

-- 
Vincent Lefèvre <[email protected]> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)