Author: devin
Description:
When using <math> tags it is common to precede with a colon to indent. E.g:
:<math>x^2
+ y
</math>
This code breaks with the "leave as tex" option under preferences. The y ends up on a different line, and a <pre> section is added to the document with just a dollar sign in it.
If we view source we can see what's happening. The colon indents using <dl> tags. In "leave as tex" mode we get something like:
<dl><dd>$ x^2
</dd></dl>
<p>+ y
</p>
<pre>$
when what we want is:
<dl><dd>$ x^2 + y$
</dd></dl>
The problem appears to be the order in which tags are added.
I have the same trouble using the jsMath plugin -- works fine except when there's a colon before multiline math.
Version: 1.15.x
Severity: normal