mf69 / svnspam

Produce e-mail reports for svn commits showing log and diff output
GNU General Public License v2.0
0 stars 0 forks source link

Gmail does not support <style> #11

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Send a diff mail to a gmail address
2.
3.

What is the expected output? What do you see instead?
Expected out is a coloured diff.Instead I see a normal text output.

What version of the product are you using? On what operating system?
from trunk

Please provide any additional information below.
Gmail is stripping off the style element. Consequently the diff mail are not 
coloured. The only way to fix this is to inline the style.
See: 
http://stackoverflow.com/questions/3690126/gmail-not-executing-css-in-html-mail-
svnspam 

Original issue reported on code.google.com by quintin...@gmail.com on 11 Sep 2010 at 7:32

GoogleCodeExporter commented 9 years ago
Here’s an attempt to make the styles inline. I haven’t touched the def 
shift(nextState) function,which is critical to setting the style. The basic 
approach of adding a class will not work, instead the style will have to be 
appended.

Original comment by cherian...@gmail.com on 11 Sep 2010 at 3:59

Attachments: