html2text
html2text copied to clipboard
Wraps long URLs
Forwarding http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=616090:
Long URLs are wrapped, which they probably shouldn't be.
Example:
<html>
<head><title>Test</title></head>
<body>
<p>And <a href="http://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=multiarch;[email protected]">here</a> is a long link I had at hand.</p>
</body>
</html>
Results in:
And [here][1] is a long link I had at hand.
[1]: http://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=multiarch;users
[email protected]
Same here, this is a problem
Here is how I circumvent the problem in case it's of any use to someone: https://github.com/Fantomas42/emencia-django-newsletter/issues/#issue/30
Thanks for the workaround, @alexgarel -- very useful. It would be nice to see this option "don't wrap URLs" added as an option.