Skip to content

Commit

Permalink
add test for sup inline
Browse files Browse the repository at this point in the history
  • Loading branch information
hudcap authored Apr 12, 2024
1 parent 956d357 commit 642c4c4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/test_html.py
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,9 @@ def test_pretty():

assert p('goodbye ', i('cruel'), ' world').render() == \
'''<p>goodbye <i>cruel</i> world</p>'''

assert p('my 1', sup('st'), ' PR').render() == \
'''<p>my 1<sup>st</sup> PR</p>'''


def test_xhtml():
Expand Down

0 comments on commit 642c4c4

Please sign in to comment.