br tag conversion

This commit is contained in:
Matthew Tretter
2012-06-29 14:59:29 -04:00
parent 7b4f9b6b7d
commit 6c760081b5
2 changed files with 6 additions and 0 deletions

View File

@@ -37,6 +37,9 @@ class ConversionTests(unittest.TestCase):
def test_b(self):
self.assertEqual(md('<b>Hello</b>'), '**Hello**')
def test_br(self):
self.assertEqual(md('a<br />b<br />c'), 'a \nb \nc')
def test_em(self):
self.assertEqual(md('<em>Hello</em>'), '*Hello*')