diff options
| author | John MacFarlane <[email protected]> | 2023-01-23 10:58:44 -0800 |
|---|---|---|
| committer | John MacFarlane <[email protected]> | 2023-01-23 12:48:49 -0800 |
| commit | 23178ec96e9417bfb178c014f5654bd3d8f24923 (patch) | |
| tree | d45de109c3d392ed2a92607bbacf2737fef0dd15 /test/command | |
| parent | 14acf8ee68e2a26eae99b11a0b75b467ca390330 (diff) | |
LaTeX reader: Fix bug in macro resolution for environments.
This is a regression in pandoc 3.0 that affects environments
with arguments. Closes #8573.
Diffstat (limited to 'test/command')
| -rw-r--r-- | test/command/8573.md | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/command/8573.md b/test/command/8573.md new file mode 100644 index 000000000..15eac9e7e --- /dev/null +++ b/test/command/8573.md @@ -0,0 +1,7 @@ +``` +% pandoc -f latex -t plain +\newenvironment{myenv}[1]{Open#1}{Close} +\begin{myenv}{x}Hello\end{myenv} +^D +OpenxHelloClose +``` |
