aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Readers
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2019-03-28 17:39:22 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2019-03-28 17:39:22 -0700
commit40865958cefeedcca6df582315fab8ba59d43f88 (patch)
tree6aea474c48f05f53891257152e494b58593e08be /src/Text/Pandoc/Readers
parent261ad9fb3dcc40cb8ae5586ea41ca427c66df0b0 (diff)
downloadpandoc-40865958cefeedcca6df582315fab8ba59d43f88.tar.gz
Markdown reader: fenced div takes priority over setext header.
For ::: {.cell} --- :::
Diffstat (limited to 'src/Text/Pandoc/Readers')
-rw-r--r--src/Text/Pandoc/Readers/Markdown.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Text/Pandoc/Readers/Markdown.hs b/src/Text/Pandoc/Readers/Markdown.hs
index 442c34511..c3469b22b 100644
--- a/src/Text/Pandoc/Readers/Markdown.hs
+++ b/src/Text/Pandoc/Readers/Markdown.hs
@@ -489,10 +489,10 @@ block = do
-- note: bulletList needs to be before header because of
-- the possibility of empty list items: -
, bulletList
- , header
- , lhsCodeBlock
, divHtml
, divFenced
+ , header
+ , lhsCodeBlock
, htmlBlock
, table
, codeBlockIndented