content-mathml extension throws an error for this expression
This expression
<math xmlns="http://www.w3.org/1998/Math/MathML">
<apply>
<plus/>
<cn> 1 </cn>
<apply>
<times/>
<cn> -444 </cn>
<ci> x </ci>
</apply>
</apply>
</math>
causes the content-mathml to throw an error. It looks like it is line 1321 which should be children[1].textContent = -n;
, though the comment does say that this is modifying the original document, so it should probably be rewritten to avoid that.
Also, the ( n = Number(CToP.getTextContent(children[1])) < 0)
in the preceding if
statement should be ( n = Number(CToP.getTextContent(children[1]))) < 0
(otherwise, n
gets the value of boolean rather than the number).