From 5611057e06431de32a0c832367c6a8942585fb39 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Wed, 22 Jun 2011 20:18:32 -0700 Subject: Added failing test case due to Perry Wagle. --- src/Tests/Readers/Markdown.hs | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src') diff --git a/src/Tests/Readers/Markdown.hs b/src/Tests/Readers/Markdown.hs index d3687b38a..db9d8bd59 100644 --- a/src/Tests/Readers/Markdown.hs +++ b/src/Tests/Readers/Markdown.hs @@ -40,6 +40,13 @@ tests = [ testGroup "inline code" "`*` {.haskell .special x=\"7\"}" =?> para (codeWith ("",["haskell","special"],[("x","7")]) "*") ] + , testGroup "emphasis and strong" + [ "mixed emph and strong" =: + "*xxx* ***xxx*** xxx\n*xxx* ***xxx*** xxx" + =?> para (emph "xxx" +++ space +++ strong (emph "xxx") +++ + space +++ "xxx" +++ space +++ + emph "xxx" +++ space +++ strong (emph "xxx")) + ] , testGroup "footnotes" [ "indent followed by newline and flush-left text" =: "[^1]\n\n[^1]: my note\n\n \nnot in note\n" -- cgit v1.2.3