Files
python-markdownify/tests/test_advanced.py
Matthew Tretter c2f32b8049 Switch to pytest
2013-07-31 16:54:37 -04:00

7 lines
219 B
Python

from markdownify import markdownify as md
def test_nested():
text = md('<p>This is an <a href="http://example.com/">example link</a>.</p>')
assert text == 'This is an [example link](http://example.com/).\n\n'