Added failing test case for issue #312.

This commit is contained in:
John MacFarlane 2011-12-01 19:47:25 -08:00
parent 8137f07cea
commit 7a09873a0b

View file

@ -44,6 +44,11 @@ tests = [ testGroup "inline code"
"`*` {.haskell .special x=\"7\"}"
=?> para (codeWith ("",["haskell","special"],[("x","7")]) "*")
]
, testGroup "backslash escapes"
[ "in URL" =:
"[hi](/there\\))"
=?> para (link "hi" "/there)" "")
]
, testGroup "smart punctuation"
[ test markdownSmart "quote before ellipses"
("'...hi'"