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
URLs line-wrapped and therefore broken when using text format emails #96
Comments
Hello. I have the same issue. I digged a little and this is what I found. Actually the thing is that
If we jump to the
Something should be added too under
And then, in
So, as a result, we should NOT have inline links but unwrapped links put as references at the end of each paragraph. One could play with
and it' working very well. No reason that it shouldn't from Note that those modifications in By the way, while I'm at it. At first, even if the links are inline, I thinked that I could just put |
@f6k do you want to prepare a patch? |
No, no need to. I was able to test my idea but it doesn't work at all. It's no suprise though since even changing the value of I think that there's something wrong in the way EDIT: actually, it's not "I think". I can say it: there's something wrong in the way |
#103 fixes the html2text options and this change works fine when using |
AFAIU this has been fixed by #103, so I'm closing, feel free to poke me if I was wrong and this is actually still a problem :) |
@Ekleog #103 fixed the other html2text options, it didn't add these two new options. @f6k The following patch works fine if you want to open a PR.
|
Sorry about that, reopening, and thank you for the patch! :) |
The patch is technically f6k's work from this issue, I just added the #103 fix and copied his words to the man page to help speed up the PR. |
@auouymous sorry for the delay in my answer! tanks for the patch and the work on it!
well, i'd be glad if you open a PR; do you think you could do it please? since you seems to have all working on your side, it'll be easier i guess? thank you very much |
@Ekleog On it. |
When emails are being sent in text format instead of HTML, links are converted to markdown syntax and then the body of the text is line-wrapped. The line-wrapping doesn't treat links in any special way, which means that links with hyphens in them can get wrapped at the hyphen, thus breaking the link.
The text was updated successfully, but these errors were encountered: