diff options
author | John MacFarlane <fiddlosopher@gmail.com> | 2011-12-01 19:47:25 -0800 |
---|---|---|
committer | John MacFarlane <fiddlosopher@gmail.com> | 2011-12-01 19:47:25 -0800 |
commit | 7a09873a0b792be381d26b17a6833a163ce294b8 (patch) | |
tree | a15af5f849992de7890025087ff8b7973b577796 /src/Tests/Readers | |
parent | 8137f07cea168e6c5060912ecd044ef58b92ef22 (diff) | |
download | pandoc-7a09873a0b792be381d26b17a6833a163ce294b8.tar.gz |
Added failing test case for issue #312.
Diffstat (limited to 'src/Tests/Readers')
-rw-r--r-- | src/Tests/Readers/Markdown.hs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Tests/Readers/Markdown.hs b/src/Tests/Readers/Markdown.hs index 941762bd0..585965db5 100644 --- a/src/Tests/Readers/Markdown.hs +++ b/src/Tests/Readers/Markdown.hs @@ -44,6 +44,11 @@ tests = [ testGroup "inline code" "`*` {.haskell .special x=\"7\"}" =?> para (codeWith ("",["haskell","special"],[("x","7")]) "*") ] + , testGroup "backslash escapes" + [ "in URL" =: + "[hi](/there\\))" + =?> para (link "hi" "/there)" "") + ] , testGroup "smart punctuation" [ test markdownSmart "quote before ellipses" ("'...hi'" |