mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-17 05:22:16 +00:00
Add failing test for using single line breaks as per comment on #214
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user