em tag conversion

This commit is contained in:
Matthew Tretter
2012-06-29 12:45:37 -04:00
parent 59fd19b29a
commit 77172ab3ba
2 changed files with 6 additions and 0 deletions

View File

@@ -16,6 +16,9 @@ class BasicTests(unittest.TestCase):
class ConversionTests(unittest.TestCase):
def test_em(self):
self.assertEqual(md('<em>Hello</em>'), '_Hello_')
def test_h1(self):
self.assertEqual(md('<h1>Hello</h1>'), 'Hello\n=====\n\n')