aboutsummaryrefslogtreecommitdiff
path: root/test/command
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2020-11-21 12:24:37 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2020-11-21 12:24:37 -0800
commit7db2cf5d2f637fc73377e32af776002e3670ef50 (patch)
tree39bc52667913a07c3be172c4641b317c8f8ba411 /test/command
parentfec8223d3a6979f675513300b2211c6235b8bccd (diff)
downloadpandoc-7db2cf5d2f637fc73377e32af776002e3670ef50.tar.gz
LaTeX reader: more robust parsing of bracketed options.
Improves on 9a40976. Closes #6873.
Diffstat (limited to 'test/command')
-rw-r--r--test/command/6873.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/command/6873.md b/test/command/6873.md
new file mode 100644
index 000000000..d747a47ff
--- /dev/null
+++ b/test/command/6873.md
@@ -0,0 +1,7 @@
+```
+% pandoc -f latex -t native --citeproc
+\cite[„Etwas […{]} auslassen“]{key}
+^D
+[WARNING] Citeproc: citation key not found
+[Para [Cite [Citation {citationId = "key", citationPrefix = [], citationSuffix = [Str "\8222Etwas",Space,Str "[\8230",Span ("",[],[]) [Str "]"],Space,Str "auslassen\8220"], citationMode = NormalCitation, citationNoteNum = 0, citationHash = 0}] [Str "(",Strong [Str "key?"],Str "\8222Etwas",Space,Str "[\8230",Span ("",[],[]) [Str "]"],Space,Str "auslassen\8220)"]]]
+```