-
Notifications
You must be signed in to change notification settings - Fork 283
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extra space after a closing emphasis mark #405
Comments
I would like to add, that maybe we should simply not add extra spaces around stressed text:
My
But GitHub's rendering disagrees for the third
So it seems, if we want to add extra spaces, it would be only when the stress mark is -- which leads to the question: should |
html2text/init.py |
Note in the first three lines of the output, there is an extra space after the closing
_
emphasis mark.This is a bug, because Markdown has no problem with a punctuation immediately following the closing emphasis mark:
The same rendered by GitHub: hello, hello" hello: hello[ hello. hello! hello?
I guess the extra space is added here:
html2text/html2text/__init__.py
Lines 295 to 297 in 099c4b8
Or here, which explains why the bottom four results don't have the extra space:
html2text/html2text/__init__.py
Lines 860 to 868 in 099c4b8
The text was updated successfully, but these errors were encountered: