diff options
author | John MacFarlane <jgm@berkeley.edu> | 2019-06-04 21:20:11 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2019-06-04 21:20:11 -0700 |
commit | 10615420dec27756baa2d4a6881d00c2e28d9cc1 (patch) | |
tree | 762ae8108f0d87639c1ad48d999c84e7fbd7750b /test | |
parent | ad9770fe86d0f7d9e8ccfe09eada1e7a60ef3d25 (diff) | |
download | pandoc-10615420dec27756baa2d4a6881d00c2e28d9cc1.tar.gz |
Include trailing {}s in raw latex commands.
Change is in rawLaTeXInline in LaTeX reader, but
it affects the markdown reader and other readers
that allow raw LaTeX.
Previously, trailing `{}` would be included for
unknown commands, but not for known commands.
However, they are sometimes used to avoid a trailing
space after the command. The chances that a `{}`
after a LaTeX command is not part of the command
are very small.
Closes #5439.
Diffstat (limited to 'test')
-rw-r--r-- | test/command/5439.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/command/5439.md b/test/command/5439.md new file mode 100644 index 000000000..b021161fd --- /dev/null +++ b/test/command/5439.md @@ -0,0 +1,6 @@ +``` +% pandoc -t latex +namespace\fshyp{}container +^D +namespace\fshyp{}container +``` |