diff options
author | John MacFarlane <jgm@berkeley.edu> | 2018-10-15 11:46:31 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2018-10-15 11:46:31 -0700 |
commit | 6f6ad0514d7c5ec6f7177beecb4f2d5ef80100ae (patch) | |
tree | 5cd5a58c5125c6670f34f00054f000e147d3004c /test/command | |
parent | e6ee032a6de22f5a2dd18030d0956e67d1fc26ba (diff) | |
download | pandoc-6f6ad0514d7c5ec6f7177beecb4f2d5ef80100ae.tar.gz |
LaTeX reader: make macroDef polymorphic and allow in inline context.
Otherwise we can't parse something like
```
\lowercase{\def\x{Foo}}
```
I have actually seen tex like this in the wild.
Diffstat (limited to 'test/command')
-rw-r--r-- | test/command/ifstrequal.md | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/command/ifstrequal.md b/test/command/ifstrequal.md index 4ad04d2e1..24ed7ef54 100644 --- a/test/command/ifstrequal.md +++ b/test/command/ifstrequal.md @@ -5,6 +5,5 @@ \h{a} \h{b} ^D -[Para [Emph [Str "no"]] -,Para [Str "\225",SoftBreak,Str "b"]] +[Para [Emph [Str "no"],SoftBreak,Str "\225",SoftBreak,Str "b"]] ``` |