-
Notifications
You must be signed in to change notification settings - Fork 286
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
unexpanded < > & #109
Comments
Relevant part of Markdown documentation: https://daringfireball.net/projects/markdown/syntax#autoescape |
@jwilk any reasons I should avoid closing this issue? |
@jwilk The relevant part of of markdown-spec is about converting markdown to html, not about converting html to markdown. If one is writing markdown only for converting it to html (and not presenting directly to humans), it's ok for him to use entities. But for a html2text library it's unacceptable. We use this library to convert html part of emails to text part. With newer versions of html2text, the input: @theSage21 Please reopen the issue (to discuss and revert #57) |
I am going to be on a flaky Internet connection for about a month. I'll try to fix this as soon as possible. |
I find this convincing. aaronsw/html2text#59 |
I suggest it to be |
I don't see the point of keeping HTML entities as-is during the conversion (i.e. not converting & into &). The reason for doing it that way originally is not convincing: Alir3z4#109
The patch @gabalese made fixes this issue for me -- would you consider applying it? |
Seems good. @Alir3z4 you agree? |
@theSage21 It makes sense to me too. |
@bjones1 Please feel free to send the patch, I'll make sure to get reviewed quick and released as soon as possible. |
I will pick this up and send a patch. |
Awesome
…On Fri, Jun 16, 2017 at 12:35 AM, Ciprian Miclaus ***@***.***> wrote:
I will pick this up and send a patch.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#109 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAkFCfWIzOcYW3sn9lTgrMR0IsgD-Dhmks5sEZV-gaJpZM4HEhPr>
.
|
@ciprianmiclaus, thanks. I got bogged down in other areas. This fix will help me on my projects. |
…o `s ... so that GitHub renders HTML entities like > inside them instead of leaving them escaped. background: https://chat.indieweb.org/dev/2019-12-24#t1577174464779200 the html2text people have gone back and forth on how to handle this: Alir3z4/html2text#57, Alir3z4/html2text#109, etc. original bridgy publish github escaping was added in snarfed/bridgy#810.
From: https://bugs.debian.org/791470
Version: 2015.6.21-1 (and current master):
It worked correctly in 2014.9.25-1:
The text was updated successfully, but these errors were encountered: