From ef3de607c39bb1a8152dcfa8974e68ae56a24a6d Mon Sep 17 00:00:00 2001 From: Tom Price Date: Thu, 31 Mar 2016 00:16:49 +0100 Subject: [PATCH] Add failing test for using single line breaks as per comment on #214 --- RIGS/test_unit.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/RIGS/test_unit.py b/RIGS/test_unit.py index 128fb3b8..5b22743f 100644 --- a/RIGS/test_unit.py +++ b/RIGS/test_unit.py @@ -210,3 +210,7 @@ which you wish to be displayed literally, ex.: \`foo\`, \*bar\*, etc. def test_nonetype(self): html = markdown_filter(None) self.assertIsNone(html) + + def test_linebreaks(self): + html = markdown_filter(self.markdown) + self.assertIn("Itemized lists
\nlook like", html)