diff options
author | John MacFarlane <jgm@berkeley.edu> | 2018-01-14 12:23:16 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2018-01-14 12:24:21 -0800 |
commit | d9584d73f94501787026c57b77d217e51f21505d (patch) | |
tree | 4ca0544a859f26486ae33d3655dbe9109650bfbc /test/command | |
parent | cd80b8d76f4a09eee12dab856a1530d549c062ac (diff) | |
download | pandoc-d9584d73f94501787026c57b77d217e51f21505d.tar.gz |
Markdown reader: Improved inlinesInBalancedBrackets.
The change both improves performance and fixes a
regression whereby normal citations inside inline notes
were not parsed correctly.
Closes jgm/pandoc-citeproc#315.
Diffstat (limited to 'test/command')
-rw-r--r-- | test/command/cite-in-inline-note.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/command/cite-in-inline-note.md b/test/command/cite-in-inline-note.md new file mode 100644 index 000000000..069484eed --- /dev/null +++ b/test/command/cite-in-inline-note.md @@ -0,0 +1,6 @@ +``` +% pandoc -t native +foo^[bar [@doe]] +^D +[Para [Str "foo",Note [Para [Str "bar",Space,Cite [Citation {citationId = "doe", citationPrefix = [], citationSuffix = [], citationMode = NormalCitation, citationNoteNum = 0, citationHash = 0}] [Str "[@doe]"]]]]] +``` |