alexmsmartins/WikiModels

Log(base, x) is not correctly supported in the MathML Editor

Opened this issue · 1 comments

If you insert log(2,x) in the MathML Editor it outputs log102 (with a subscript 10 ).
The bug is probably due to the fact that log only reads the first parameter and assumes the default base of 10 (MathML specification)

This will probably require using a special case for log in both MathMLPrettyPirnter and MathMLParser.
It migh even include correcting the way known MathML symbols are handled.