git.iko.soy/typeable/pandoc
on master help sign in
Added comment in source.
commita20302d9cfc3651a217bd76e9f9cce3e285433d4 authorJohn MacFarlane <jgm@berkeley.edu> dateFri 23 Jun 2017, 22:36 (9 years ago) parent5812ac0
1 file changed+3
src/Text/Pandoc/Readers/Markdown.hs+3
src/Text/Pandoc/Readers/Markdown.hs+3
@@ -305,6 +305,9 @@ toMetaValue x =
305305 p' <- p
306306 return $ MetaInlines (B.toList p')
307307 endsWithNewline = T.pack "\n" `T.isSuffixOf` x
308+ -- Note: a standard quoted or unquoted YAML value will
309+ -- not end in a newline, but a "block" set off with
310+ -- `|` or `>` will.
308311
309312yamlToMeta :: PandocMonad m
310313 => Yaml.Value -> MarkdownParser m (F MetaValue)