Previously we went into an infinite loop with
```
\newcommand{\noop}[1]{#1}
\noop{\newcommand{\foo}[1]{#1}}
\foo{hi}
```
See #4253.
9 lines
124 B
Markdown
9 lines
124 B
Markdown
```
|
|
% pandoc -f latex -t native
|
|
\newcommand{\noop}[1]{#1}
|
|
\noop{\newcommand{\foo}[1]{#1}}
|
|
\foo{hi}
|
|
^D
|
|
[Para [Str "hi"]]
|
|
```
|