Title support for a tags
This commit is contained in:
6
tests.py
6
tests.py
@@ -25,6 +25,12 @@ class ConversionTests(unittest.TestCase):
|
||||
'[Google](http://google.com)'
|
||||
)
|
||||
|
||||
def test_a_with_title(self):
|
||||
self.assertEqual(
|
||||
md('<a href="http://google.com" title="The "Goog"">Google</a>'),
|
||||
r'[Google](http://google.com "The \"Goog\"")'
|
||||
)
|
||||
|
||||
def test_b(self):
|
||||
self.assertEqual(md('<b>Hello</b>'), '**Hello**')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user