aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Text/Pandoc/Readers/Markdown.hs4
-rw-r--r--test/command/setext-fenced-div.md9
2 files changed, 11 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
diff --git a/test/command/setext-fenced-div.md b/test/command/setext-fenced-div.md
new file mode 100644
index 000000000..27301ea22
--- /dev/null
+++ b/test/command/setext-fenced-div.md
@@ -0,0 +1,9 @@
+```
+% pandoc -t native
+::: {.cell}
+---
+:::
+^D
+[Div ("",["cell"],[])
+ [HorizontalRule]]
+```