Subject: | HTML output with CSS inline |
In my company, we are using Google apps Gmail interface to receive
emails. Using the current output of SVN::Notify::HTML and
SVN::Notify::HTML::ColorDiff, the HTML can not be rendered properly
because of the nature of the web email. To fix that, the CSS need to be
put inline in the HTML tags.
I made a patch to receive css-inline parameter. But, the code is still
kind of dirty, checking for each HTML string and if the parameter
defined, I put the CSS inside the HTML tag. The code was a modification
from
http://www.jaim.at/2008/09/06/jack-moffitt-power-up-your-commit-e-mails/
Other alternative I can think of is to have a CSS inline converter which
will get the HTML output and just convert the embedded CSS to be inline
on the fly before sending the email.
Subject: | HTML.pm |
Message body is not shown because it is too large.
Subject: | ColorDiff.pm |
Message body is not shown because it is too large.