From 13538ce6eb1e8bf60d556bdfe551f75a89c8bf3d Mon Sep 17 00:00:00 2001 From: quasicomputational Date: Thu, 5 Apr 2018 16:53:42 +0100 Subject: CommonMark writer: correctly ignore LaTeX raw blocks when not raw_tex (#4533) Issue #4527. --- test/command/4527.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 test/command/4527.md (limited to 'test') 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. +``` -- cgit v1.2.3