Closed bamos closed 8 years ago
Also, can you help remove the <br />
from notifications_text
from line 75 of email_builder.rb in the plaintext version?
From looking at line 58 of email_builder.rb, maybe by running .gsub(/<br\s?\/?>/, "\r\n").gsub(/<\/?[^>]*>/, '')
on everything in locals
in send_email.rb
before calling into the plaintext template?
Thank you, that's much better :D
I've fixed the html problem with https://github.com/andreausu/git-notifier/commit/2989324abfa417caab41c4d171aa395f61cf71f3 :)
Awesome, thanks! :-)
Hi @andreausu,
Sometimes I use a plaintext-only email client and the plaintext notifications look like:
This pull request partially fixes the template for plaintext notifications by adding newlines.
I'm testing with the following script:
Original Output
Improved Output