From a4364b37844c0b35b2140d468fd6906f0a0ed6e3 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sun, 4 Dec 2011 22:37:28 -0800 Subject: Added failing test for escape in markdown link title. --- src/Tests/Readers/Markdown.hs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Tests/Readers/Markdown.hs b/src/Tests/Readers/Markdown.hs index 585965db5..40779778a 100644 --- a/src/Tests/Readers/Markdown.hs +++ b/src/Tests/Readers/Markdown.hs @@ -48,6 +48,9 @@ tests = [ testGroup "inline code" [ "in URL" =: "[hi](/there\\))" =?> para (link "hi" "/there)" "") + , "in title" =: + "[hi](/there \"a\\\"a)" + =?> para (link "hi" "/there" "a\"a") ] , testGroup "smart punctuation" [ test markdownSmart "quote before ellipses" -- cgit v1.2.3