Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#1488789 closed Bugs (fixed)

Roundcube applies print stylesheet to HTML-email

Reported by: dulemis Owned by:
Priority: 5 Milestone: 0.8.4
Component: Core functionality Version: 0.8.1
Severity: normal Keywords:


When an HTML-email contains a CSS-link media="print" in the source Roundcube uses that stylesheet instead of the ordinary stylesheet and/or inline styles when rendering the e-mail.

Change History (7)

comment:1 Changed 3 years ago by dulemis

  • Component changed from Addressbook to Core functionality

comment:2 Changed 3 years ago by dulemis

Just upgraded to 0.8.3 and this bug seem to be resolved.

comment:3 Changed 3 years ago by alec

  • Milestone changed from later to 0.9-beta

I don't think there was a fix for this. Could you provide a sample message?

comment:4 Changed 3 years ago by dulemis

Yes of course, here is a sample HTML-mail with a separate print-stylesheet

This e-mail renders with the attributes of the print stylesheet in Roundcube, but in the browser and Thunderbird it looks right. For example in the browser it shows a white logo, in Roundcube it shows a black (from print stylesheet), also it removes the top and bottom part of the page (print-icon, copyright etc)

comment:5 Changed 3 years ago by alec

I reproduced the issue with git-master. I'll investigate.

comment:6 Changed 3 years ago by alec

  • Resolution set to fixed
  • Status changed from new to closed

comment:7 Changed 3 years ago by thomasb

  • Milestone changed from 0.9-beta to 0.8.4
Note: See TracTickets for help on using tickets.