aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Writers/Shared.hs
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-06-23 22:31:08 +0200
committerJohn MacFarlane <jgm@berkeley.edu>2017-06-23 22:31:08 +0200
commit5812ac03902169e5ce8593c26fb2d8cffafbd828 (patch)
tree2dcc1f6e7873c87e3992b407a75283eac730d513 /src/Text/Pandoc/Writers/Shared.hs
parent310ff99a8c648773056d6fe250524885b7d5ea2f (diff)
downloadpandoc-5812ac03902169e5ce8593c26fb2d8cffafbd828.tar.gz
Markdown reader: interpret YAML metadata as Inlines when possible.
If the metadata field is all on one line, we try to interpret it as Inlines, and only try parsing as Blocks if that fails. If it extends over one line (including possibly the `|` or `>` character signaling an indented block), then we parse as Blocks. This was motivated by some German users finding that date: '22. Juin 2017' got parsed as an ordered list. Closes #3755.
Diffstat (limited to 'src/Text/Pandoc/Writers/Shared.hs')
0 files changed, 0 insertions, 0 deletions