pandoc/test/command/tex-group.md
John MacFarlane e752669e50 LaTeX reader: don't let \egroup match {.
`braced` now actually requires nested braces.
Otherwise some legitimate command and environment
definitions can break (see test/command/tex-group.md).
2019-01-31 22:50:51 -08:00

12 lines
130 B
Markdown

```
% pandoc -f latex -t html
\newenvironment{foo}%
{\emph\bgroup}%
{\egroup}
\begin{foo}
hi
\end{foo}
^D
<p><em>hi</em></p>
```