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.
288 B
288 B
% 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}"
]
]