Skip to content

Commit

Permalink
Add font tag for inline tags per #55
Browse files Browse the repository at this point in the history
  • Loading branch information
lepture committed Jun 11, 2015
1 parent c98453b commit 8ee0ddc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mistune.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
_inline_tag = (
r'a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|'
r'var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|'
r'span|br|wbr|ins|del|img'
r'span|br|wbr|ins|del|img|font'
)
_block_tag = r'(?!(?:%s)\b)\w+(?!:/|[^\w\s@]*@)\b' % _inline_tag

Expand Down

0 comments on commit 8ee0ddc

Please sign in to comment.