Skip to content

Commit

Permalink
Add test case for inline escape
Browse files Browse the repository at this point in the history
  • Loading branch information
lepture committed Apr 2, 2014
1 parent 3f2d495 commit 9905700
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,6 @@ def test_normal():
def test_escape():
ret = mistune.markdown('<div>**foo**</div>', escape=True)
assert '&gt;' in ret

ret = mistune.markdown('this **foo** is <b>bold</b>', escape=True)
assert '&gt;' in ret

0 comments on commit 9905700

Please sign in to comment.