diff options
author | John MacFarlane <jgm@berkeley.edu> | 2018-05-15 09:15:45 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2018-05-15 09:19:13 -0700 |
commit | 58447bba98cb162b21c30755e0e237f890160a1e (patch) | |
tree | 51354b17c8f0c267f49572966236357e550f0834 /test/command | |
parent | 2936967fa19e77581456189503500de4cfe502b3 (diff) | |
download | pandoc-58447bba98cb162b21c30755e0e237f890160a1e.tar.gz |
rawLaTeXBlock: don't expand macros in macro definitions!
Closes #4653. Note that this only affected LaTeX in markdown.
Added regression test.
Diffstat (limited to 'test/command')
-rw-r--r-- | test/command/4653.md | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/command/4653.md b/test/command/4653.md new file mode 100644 index 000000000..24a706e89 --- /dev/null +++ b/test/command/4653.md @@ -0,0 +1,8 @@ +``` +% pandoc -t latex +\let\tex\TeX +\renewcommand{\TeX}{\tex\xspace} +^D +\let\tex\TeX +\renewcommand{\TeX}{\tex\xspace} +``` |