Add failing test for using single line breaks as per comment on #214

This commit is contained in:
Tom Price
2016-03-31 00:16:49 +01:00
parent 22b5111365
commit ef3de607c3

View File

@@ -210,3 +210,7 @@ which you wish to be displayed literally, ex.: \`foo\`, \*bar\*, etc.
def test_nonetype(self): def test_nonetype(self):
html = markdown_filter(None) html = markdown_filter(None)
self.assertIsNone(html) self.assertIsNone(html)
def test_linebreaks(self):
html = markdown_filter(self.markdown)
self.assertIn("Itemized lists<br />\nlook like", html)