diff options
author | quasicomputational <quasicomputational@gmail.com> | 2018-04-05 16:53:42 +0100 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2018-04-05 08:53:42 -0700 |
commit | 13538ce6eb1e8bf60d556bdfe551f75a89c8bf3d (patch) | |
tree | 3dd04f5fda919bc9e02bc573800abbc877dfdae7 /test | |
parent | ff3ed5c9f8ee985bb6026dd10b8c2549782c0296 (diff) | |
download | pandoc-13538ce6eb1e8bf60d556bdfe551f75a89c8bf3d.tar.gz |
CommonMark writer: correctly ignore LaTeX raw blocks when not raw_tex (#4533)
Issue #4527.
Diffstat (limited to 'test')
-rw-r--r-- | test/command/4527.md | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/test/command/4527.md b/test/command/4527.md new file mode 100644 index 000000000..984333559 --- /dev/null +++ b/test/command/4527.md @@ -0,0 +1,21 @@ +# Raw TeX blocks in CommonMark with and without raw_tex + +``` +% pandoc -f latex -t commonmark-raw_tex +\someunknowncommand + +Hello. +^D +Hello. +``` + +``` +% pandoc -f latex -t commonmark+raw_tex +\someunknowncommand + +Hello. +^D +\someunknowncommand + +Hello. +``` |