While sending html and pain-text with MIMEMultipart('alternative')
When converting html to text the anchor of html is breaking in new line
http://127.0.0.1:8000/some-url/other-part-of-url
to
http://127.0.0.1:8000/some-
url/other-part-of-url
Why this is happening?
django html2text(content,baseUrl,length) has 3 parameter in constructor where the third one is length(default 78). You can increase the length by using that.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With