From 7512c9dd124ed4a82b4dc70c91d89d16e8919a8b Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Mon, 5 Dec 2011 21:16:30 -0800 Subject: Fixed tests for escapes in markdown titles, URLs. --- src/Tests/Readers/Markdown.hs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/Tests/Readers/Markdown.hs b/src/Tests/Readers/Markdown.hs index d22cc308a..61bd3a107 100644 --- a/src/Tests/Readers/Markdown.hs +++ b/src/Tests/Readers/Markdown.hs @@ -49,14 +49,14 @@ tests = [ testGroup "inline code" "[hi](/there\\))" =?> para (link "/there)" "" "hi") , "in title" =: - "[hi](/there \"a\\\"a)" + "[hi](/there \"a\\\"a\")" =?> para (link "/there" "a\"a" "hi") , "in reference link title" =: "[hi]\n\n[hi]: /there (a\\)a)" =?> para (link "/there" "a)a" "hi") , "in reference link URL" =: - "[hi]\n\n[hi]: /there\\." - =?> para (link "/there." "" "hi") + "[hi]\n\n[hi]: /there\\.0" + =?> para (link "/there.0" "" "hi") ] , testGroup "smart punctuation" [ test markdownSmart "quote before ellipses" -- cgit v1.2.3