From 7a09873a0b792be381d26b17a6833a163ce294b8 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Thu, 1 Dec 2011 19:47:25 -0800 Subject: Added failing test case for issue #312. --- src/Tests/Readers/Markdown.hs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Tests/Readers/Markdown.hs b/src/Tests/Readers/Markdown.hs index 941762bd0..585965db5 100644 --- a/src/Tests/Readers/Markdown.hs +++ b/src/Tests/Readers/Markdown.hs @@ -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'" -- cgit v1.2.3