@@ -48,6 +48,16 @@ tests = [ testGroup "inline code"
4848 "[^1]\n\n[^1]: my note\n \n in note\n"
4949 =?> para (note (para "my note" +++ para "in note"))
5050 ]
51+ , testGroup "lhs"
52+ [ test (readMarkdown defaultParserState{stateLiterateHaskell = True})
53+ "inverse bird tracks and html" $
54+ "> a\n\n< b\n\n<div>\n"
55+ =?> codeBlockWith ("",["sourceCode","literate","haskell"],[]) "a"
56+ +++
57+ codeBlockWith ("",["sourceCode","haskell"],[]) "b"
58+ +++
59+ rawBlock "html" "<div>\n\n"
60+ ]
5161-- the round-trip properties frequently fail
5262-- , testGroup "round trip"
5363-- [ property "p_markdown_round_trip" p_markdown_round_trip