mirror of
https://github.com/jgm/pandoc.git
synced 2026-08-26 18:26:36 +00:00
Added test for #1154.
This commit is contained in:
@@ -216,4 +216,13 @@ tests = [ testGroup "inline code"
|
||||
-- , testGroup "round trip"
|
||||
-- [ property "p_markdown_round_trip" p_markdown_round_trip
|
||||
-- ]
|
||||
, testGroup "lists"
|
||||
[ "issue #1154" =:
|
||||
" - <div>\n first div breaks\n </div>\n\n <button>if this button exists</button>\n\n <div>\n with this div too.\n </div>\n"
|
||||
=?> bulletList [divWith nullAttr (plain $ text "first div breaks") <>
|
||||
rawBlock "html" "<button>" <>
|
||||
plain (text "if this button exists") <>
|
||||
rawBlock "html" "</button>\n" <>
|
||||
divWith nullAttr (plain $ text "with this div too.")]
|
||||
]
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user