| 1 | initial version |
Hello,
You will get the same error with
html("$a^b^c$")
The right way to do it is to enclose the expression in exponent with "{" and "}"
html("$a^{b^c}$")
In your example, because you use format, these must be double curly braces. In other words
s = "$\int_{{{2}}}^{{{3}}} \int_{{{4}}}^{{{5}}} {0} \,dxdy = {1} $"
Vincent
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.