aboutsummaryrefslogtreecommitdiff
path: root/test/Tests/Readers
diff options
context:
space:
mode:
authorAlexander <ilabdsf@gmail.com>2017-09-05 07:22:40 +0300
committerJohn MacFarlane <jgm@berkeley.edu>2017-09-04 21:22:40 -0700
commitc09b586147d607f645a639a47c7781e8d8655e20 (patch)
treed38d3fe7b7f77633f5e83f513b26b4263da1e03e /test/Tests/Readers
parent2637df2bdfdffe55dc7363feac188d9144f18fea (diff)
downloadpandoc-c09b586147d607f645a639a47c7781e8d8655e20.tar.gz
Muse reader: parse <div> tag (#3888)
Diffstat (limited to 'test/Tests/Readers')
-rw-r--r--test/Tests/Readers/Muse.hs8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/Tests/Readers/Muse.hs b/test/Tests/Readers/Muse.hs
index 4e5e5b606..714736c7f 100644
--- a/test/Tests/Readers/Muse.hs
+++ b/test/Tests/Readers/Muse.hs
@@ -145,6 +145,14 @@ tests =
, " with a continuation"
] =?>
blockQuote (para "This is a quotation with a continuation")
+ , testGroup "Div"
+ [ "Div without id" =:
+ "<div>Foo bar</div>" =?>
+ divWith nullAttr (para "Foo bar")
+ , "Div with id" =:
+ "<div id=\"foo\">Foo bar</div>" =?>
+ divWith ("foo", [], []) (para "Foo bar")
+ ]
, "Verse" =:
T.unlines [ "> This is"
, "> First stanza"