git.iko.soy/typeable/pandoc
on master help sign in
Added failing test for escape in markdown link title.
commita4364b37844c0b35b2140d468fd6906f0a0ed6e3 authorJohn MacFarlane <fiddlosopher@gmail.com> dateSun 4 Dec 2011, 22:37 (15 years ago) parente53e538
1 file changed+3
src/Tests/Readers/Markdown.hs+3
src/Tests/Readers/Markdown.hs+3
@@ -48,6 +48,9 @@ tests = [ testGroup "inline code"
4848 [ "in URL" =:
4949 "[hi](/there\\))"
5050 =?> para (link "hi" "/there)" "")
51+ , "in title" =:
52+ "[hi](/there \"a\\\"a)"
53+ =?> para (link "hi" "/there" "a\"a")
5154 ]
5255 , testGroup "smart punctuation"
5356 [ test markdownSmart "quote before ellipses"