aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2018-08-06 12:32:04 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2018-08-06 12:32:04 -0700
commit94c3753c08073fea030119c6944997c33b8eae56 (patch)
tree210fb058915cc46d8d3b936030c5a5c118995a4d /test
parent788ecf06f616ec64511ccb85c37d14cf685af495 (diff)
downloadpandoc-94c3753c08073fea030119c6944997c33b8eae56.tar.gz
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.
Diffstat (limited to 'test')
-rw-r--r--test/command/4817.md10
1 files changed, 10 insertions, 0 deletions
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"])])])]})
+[]
+```