My ActionMailer adds a carrige return to the end of every line:
<!DOCTYPE html>=0D
<html>=0D
<head>=0D
...
this is stuff=0D
=0D
This intro has some content in it.=0D
=0D
blah.=0D
=0D
My mail is rendered perfectly fine in the preview host/rails/mailers/user_mailer/periodic_digest.html (and also in mailcatcher), but when I send the mail through Mailgun I end up getting double line spacing between my text.
In app/mailers/user_mailer.rb:periodic_digest
m = mail(from: 'blah', to: 'me')
puts m.html_part.body.decoded
I do get correctly formatted html.
How can I send out my html without the carriage return character =0D being appended to every line?