html2text icon indicating copy to clipboard operation
html2text copied to clipboard

Wraps long URLs

Open stefanor opened this issue 14 years ago • 2 comments

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]

stefanor avatar Mar 02 '11 15:03 stefanor

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

alexgarel avatar Mar 04 '11 08:03 alexgarel

Thanks for the workaround, @alexgarel -- very useful. It would be nice to see this option "don't wrap URLs" added as an option.

abeals avatar Aug 01 '12 15:08 abeals