[Koha-bugs] [Bug 13448] runreport.pl html email striping

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jun 22 06:46:01 CEST 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13448

--- Comment #4 from M. Tompsett <mtompset at hotmail.com> ---
Comment on attachment 34342
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=34342
Bug 13448: Make Striping gmail/hotmail compatible

Review of attachment 34342:
 --> (http://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=13448&attachment=34342)
-----------------------------------------------------------------

::: misc/cronjobs/runreport.pl
@@ -270,4 @@
>          my $email = Koha::Email->new();
>          my %mail;
>          if ($format eq 'html') {
> -                $message = "<html><head><style>tr:nth-child(2n+1) { background-color: #ccc;}</style></head><body>$message</body></html>";

It makes sense to remove the <head>...</head>, but the
<html><body>$message</body></html> should probably be left in tact. Otherwise,
you get just <table>...</table> as your message.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list