alexmsmartins / WikiModels

WikiModels Project
MIT License
3 stars 0 forks source link

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

Open alexmsmartins opened 12 years ago

alexmsmartins commented 12 years ago

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)

alexmsmartins commented 12 years ago

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.