git.iko.soy/typeable/pandoc
on master help sign in
Added failing test case for issue #312.
7a09873John MacFarlane
src/Tests/Readers/Markdown.hs+5
@@ -44,6 +44,11 @@ tests = [ testGroup "inline code"
44 "`*` {.haskell .special x=\"7\"}"
44 "`*` {.haskell .special x=\"7\"}"
45 =?> para (codeWith ("",["haskell","special"],[("x","7")]) "*")
45 =?> para (codeWith ("",["haskell","special"],[("x","7")]) "*")
46 ]
46 ]
47+ , testGroup "backslash escapes"
48+ [ "in URL" =:
49+ "[hi](/there\\))"
50+ =?> para (link "hi" "/there)" "")
51+ ]
47 , testGroup "smart punctuation"
52 , testGroup "smart punctuation"
48 [ test markdownSmart "quote before ellipses"
53 [ test markdownSmart "quote before ellipses"
49 ("'...hi'"
54 ("'...hi'"