b263f38304
When converting e.g. an align environment to an aligned environment inside a Math element, we need to include a newline before the `\end{aligned}`, since the previous line might end in a comment. Closes #8122.
18 lines
288 B
Markdown
18 lines
288 B
Markdown
```
|
|
% pandoc -f latex -t native
|
|
\begin{eqnarray}
|
|
A&=&B,\\
|
|
C&=&D,\\
|
|
%\end{eqnarray}
|
|
%\begin{eqnarray}
|
|
E&=&F
|
|
\end{eqnarray}
|
|
^D
|
|
[ Para
|
|
[ Math
|
|
DisplayMath
|
|
"\\begin{aligned}\nA&=&B,\\\\\nC&=&D,\\\\\n%\\end{eqnarray}\n%\\begin{eqnarray}\nE&=&F\n\\end{aligned}"
|
|
]
|
|
]
|
|
```
|
|
|