git.iko.soy/typeable/pandoc
on master help sign in
Added failing test case for issue #312.
commit7a09873a0b792be381d26b17a6833a163ce294b8 authorJohn MacFarlane <fiddlosopher@gmail.com> dateThu 1 Dec 2011, 19:47 (15 years ago) parent8137f07
1 file changed+5
src/Tests/Readers/Markdown.hs+5
src/Tests/Readers/Markdown.hs+5
@@ -44,6 +44,11 @@ tests = [ testGroup "inline code"
4444 "`*` {.haskell .special x=\"7\"}"
4545 =?> para (codeWith ("",["haskell","special"],[("x","7")]) "*")
4646 ]
47+ , testGroup "backslash escapes"
48+ [ "in URL" =:
49+ "[hi](/there\\))"
50+ =?> para (link "hi" "/there)" "")
51+ ]
4752 , testGroup "smart punctuation"
4853 [ test markdownSmart "quote before ellipses"
4954 ("'...hi'"