You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When there is a closing em tag followed by an opening one, the output will result in a double underscore, which seems to be invalid Markdown syntax. I think the _ must always be surrounded by a space in markdown.
See following test code:
from html2text import html2text
foo = """
<em>Something emphasized</em><em>followed by something else</em>
"""
print(html2text(foo))
Tested with:
html2text 2016.9.19
Python 3.5.3
The text was updated successfully, but these errors were encountered:
When there is a closing em tag followed by an opening one, the output will result in a double underscore, which seems to be invalid Markdown syntax. I think the _ must always be surrounded by a space in markdown.
See following test code:
Tested with:
The text was updated successfully, but these errors were encountered: