From 94c3753c08073fea030119c6944997c33b8eae56 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Mon, 6 Aug 2018 12:32:04 -0700 Subject: Fix parsing of embedded mappings in YAML metadata. This fixes a regression in 2.2.3 which caused embedded mappings (e.g. mappings in sequences) not to work in YAML metadata. Closes #4817. --- test/command/4817.md | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 test/command/4817.md (limited to 'test/command') diff --git a/test/command/4817.md b/test/command/4817.md new file mode 100644 index 000000000..7718e3b3a --- /dev/null +++ b/test/command/4817.md @@ -0,0 +1,10 @@ +``` +% pandoc -t native -s +--- +foo: +- bar: bam +... +^D +Pandoc (Meta {unMeta = fromList [("foo",MetaList [MetaMap (fromList [("bar",MetaInlines [Str "bam"])])])]}) +[] +``` -- cgit v1.2.3