From d9584d73f94501787026c57b77d217e51f21505d Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sun, 14 Jan 2018 12:23:16 -0800 Subject: 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. --- test/command/cite-in-inline-note.md | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 test/command/cite-in-inline-note.md (limited to 'test/command') 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]"]]]]] +``` -- cgit v1.2.3