summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2018-02-17 23:06:54 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2018-02-17 23:06:54 -0800
commit377640402f32e8189fc88e54515c397ce48cc916 (patch)
tree806397826bed907a5d9e290dfecac1906549f94f /test
parent3535af019722fc5086e968cc485ab8b94b76f1fd (diff)
LaTeX reader: Fixed comments inside citations. Closes #4374.
Diffstat (limited to 'test')
-rw-r--r--test/command/4374.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/command/4374.md b/test/command/4374.md
new file mode 100644
index 000000000..296c116a9
--- /dev/null
+++ b/test/command/4374.md
@@ -0,0 +1,7 @@
+```
+% pandoc -f latex -t native
+\cite{a%
+}
+^D
+[Para [Cite [Citation {citationId = "a", citationPrefix = [], citationSuffix = [], citationMode = NormalCitation, citationNoteNum = 0, citationHash = 0}] [RawInline (Format "latex") "\\cite{a%\n}"]]]
+```