diff --git a/src/MdToHtmlTest.hs b/src/MdToHtmlTest.hs index f36c6d8..55cdbe4 100644 --- a/src/MdToHtmlTest.hs +++ b/src/MdToHtmlTest.hs @@ -97,7 +97,13 @@ codeTests = TestList [ check_equal "Code by itself" "
Hello world!
The following text
is code
`Incomplete
Code`
" (convert "`Incomplete\n\nCode`") + check_equal "Code across paragraphs (shouldn't work" "" (convert "`Incomplete\n\nCode`") -- At the moment, this is just treated as a syntax error, so nothing is rendered. + ] + +imageTests = + TestList + [ check_equal "Image by itself" "This is an image