git.iko.soy/typeable/pandoc
on master help sign in
Added failing test for escape in markdown link title.
a4364b3John MacFarlane
src/Tests/Readers/Markdown.hs+3
@@ -48,6 +48,9 @@ tests = [ testGroup "inline code"
48 [ "in URL" =:
48 [ "in URL" =:
49 "[hi](/there\\))"
49 "[hi](/there\\))"
50 =?> para (link "hi" "/there)" "")
50 =?> para (link "hi" "/there)" "")
51+ , "in title" =:
52+ "[hi](/there \"a\\\"a)"
53+ =?> para (link "hi" "/there" "a\"a")
51 ]
54 ]
52 , testGroup "smart punctuation"
55 , testGroup "smart punctuation"
53 [ test markdownSmart "quote before ellipses"
56 [ test markdownSmart "quote before ellipses"