Re: Pandoc: Javascript at standalone HTML + MathML
David Carlisle <[email protected]> Fri, 19 Dec 2014 14:30:49 +0000
| Newsgroups | gmane.comp.mozilla.devel.mathml |
|---|---|
| Message-ID | <[email protected]> |
On 19/12/2014 13:09, Raniere Silva wrote: > I notice the Javascript function convertMath for Firefox/Gecko. Wasn't clear to > me why we need this. Anyone can give me a explanation? originally math elements only parsed into the mathml namespace and got rendered in XHTML parsing, the HTML4 parser just rendered them as unknown elements. That function allowed rendering in text/html by lifting them out and replacing each math element with a a "copy" using mathml namespace elements. So it's not needed since the HTML5 parser does this automatically. David