numbas / Numbas

A completely browser-based e-assessment/e-learning system, with an emphasis on mathematics
http://www.numbas.org.uk
Apache License 2.0
197 stars 118 forks source link

Missing brackets when "no unknown function names" causes a function name to be rewritten as a variable name #1072

Closed christianp closed 5 months ago

christianp commented 5 months ago

With "allow unknown function names" turned off, the expression z(x*y)^2 is rendered as $zxy^2$ instead of $z(xy)^2$.