@@ -48,6 +48,16 @@ tests = [ testGroup "inline code"
48 "[^1]\n\n[^1]: my note\n \n in note\n"
48 "[^1]\n\n[^1]: my note\n \n in note\n"
49 =?> para (note (para "my note" +++ para "in note"))
49 =?> para (note (para "my note" +++ para "in note"))
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"
57+ codeBlockWith ("",["sourceCode","haskell"],[]) "b"
59+ rawBlock "html" "<div>\n\n"
51-- the round-trip properties frequently fail
61-- the round-trip properties frequently fail
52-- , testGroup "round trip"
62-- , testGroup "round trip"
53-- [ property "p_markdown_round_trip" p_markdown_round_trip
63-- [ property "p_markdown_round_trip" p_markdown_round_trip