Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MathML doesn't get transformed into the desired output #25

Open
RaceProUK opened this issue Aug 7, 2015 · 2 comments
Open

MathML doesn't get transformed into the desired output #25

RaceProUK opened this issue Aug 7, 2015 · 2 comments

Comments

@RaceProUK
Copy link

If I post

<math xmlns="http://www.w3.org/1998/Math/MathML">
<matrix>
  <matrixrow>
    <cn> 0 </cn> <cn> 1 </cn> <cn> 0 </cn>
  </matrixrow>
  <matrixrow>
    <cn> 0 </cn> <cn> 0 </cn> <cn> 1 </cn>
  </matrixrow>
  <matrixrow>
    <cn> 1 </cn> <cn> 0 </cn> <cn> 0 </cn>
  </matrixrow>
</matrix>
</math>

it doesn't get rendered as a matrix, instead just printing the raw numbers spaced out.

Reporting here in case it's a plugin issue; if not, I can report on meta.d instead.

@RaceProUK
Copy link
Author

Config same as issue #24

@dpvc
Copy link

dpvc commented Aug 15, 2015

This markup is Content MathML rather than Presentation MathML. In order to process Content MathML, you need to include the content-mathml extension. Alter your configuration to include

MathML: {
  extensions: ["content-mathml.js"]
}

and that should allow this to produce the desired matrix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants