p tag conversion

This commit is contained in:
Matthew Tretter
2012-06-29 13:23:18 -04:00
parent e28b2fc7f6
commit c31aebb066
2 changed files with 6 additions and 0 deletions

View File

@@ -38,6 +38,9 @@ class ConversionTests(unittest.TestCase):
def test_ol(self):
self.assertEqual(md('<ol><li>a</li><li>b</li></ol>'), '1. a\n2. b\n')
def test_p(self):
self.assertEqual(md('<p>hello</p>'), 'hello\n\n')
def test_strong(self):
self.assertEqual(md('<strong>Hello</strong>'), '**Hello**')