Subject: | Garbled stylesheet |
Date: | Tue, 18 Dec 2007 04:37:49 -0500 (EST) |
To: | bug-SVN-Notify [...] rt.cpan.org |
From: | David Lindelöf <dlindelof [...] optaros.com> |
Hello,
I have observed the following problem when using SVN::Notify::HTML::ColorDiff. The data sent to the SMTP server begins like this:
Content-Transfer-Encoding: 8bit
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=us-ascii" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; }
But the source of the email I then receive shows this:
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns=3D"http://www.w3.org/1999/xhtml">
<head><meta http-equiv=3D"content-type" content=3D"text/html; charset=3Dus-=
ascii" /><style type=3D"text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding: 6px; color: #f=
ff; }
#msg dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer { font-family: verdana=
,arial,helvetica,sans-serif; font-size: 10pt; }
#msg dl a { font-weight: bold}
#msg dl a:link { color:#fc3; }
#msg dl a:active { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font=
-weight: bold; }
In other words, the stylesheet seems garbled by the quoted-printable encoding, and the email is not shown as it should.
Do you have any idea what we are doing wrong, or whether this is a bug for SVN::Notify?
Cheers,
David