git.iko.soy/typeable/pandoc
on master help sign in
Added test for issue #1330.
commitd1ac594d4ad2303e1fc0899b0232863686738650 authorJohn MacFarlane <jgm@berkeley.edu> dateMon 7 Jul 2014, 22:27 (12 years ago) parentf96a2b9
1 file changed+6
tests/Tests/Readers/Markdown.hs+6
tests/Tests/Readers/Markdown.hs+6
@@ -154,6 +154,12 @@ tests = [ testGroup "inline code"
154154 [ "in URL" =:
155155 "\\begin\n" =?> para (text "\\begin")
156156 ]
157+ , testGroup "raw HTML"
158+ [ "nesting (issue #1330)" =:
159+ "<del>test</del>" =?>
160+ rawBlock "html" "<del>" <> plain (str "test") <>
161+ rawBlock "html" "</del>"
162+ ]
157163 , "unbalanced brackets" =:
158164 "[[[[[[[[[[[[[[[hi" =?> para (text "[[[[[[[[[[[[[[[hi")
159165 , testGroup "backslash escapes"