summaryrefslogtreecommitdiff
path: root/src/Tests/Readers
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2011-12-04 22:37:28 -0800
committerJohn MacFarlane <fiddlosopher@gmail.com>2011-12-04 22:37:28 -0800
commita4364b37844c0b35b2140d468fd6906f0a0ed6e3 (patch)
tree209b199641d82868c812b2d1bcd90eb648645971 /src/Tests/Readers
parente53e53852407c78b17967dacca7696fdc755c7ec (diff)
Added failing test for escape in markdown link title.
Diffstat (limited to 'src/Tests/Readers')
-rw-r--r--src/Tests/Readers/Markdown.hs3
1 files changed, 3 insertions, 0 deletions
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"