a tag conversion

This commit is contained in:
Matthew Tretter
2012-06-29 13:40:27 -04:00
parent 489217527d
commit d73b8d4c4d
2 changed files with 10 additions and 0 deletions

View File

@@ -19,6 +19,12 @@ class EscapeTests(unittest.TestCase):
class ConversionTests(unittest.TestCase):
def test_a(self):
self.assertEqual(
md('<a href="http://google.com">Google</a>'),
'[Google](http://google.com)'
)
def test_b(self):
self.assertEqual(md('<b>Hello</b>'), '**Hello**')