6.0.0-beta1
7/5/25

[#11153] STYLE tag from HTML message being stripped off
Summary STYLE tag from HTML message being stripped off
Queue IMP
Queue Version Git master
Type Bug
State Resolved
Priority 1. Low
Owners slusarz (at) horde (dot) org
Requester jan (at) horde (dot) org
Created 04/17/2012 (4827 days ago)
Due
Updated 10/15/2012 (4646 days ago)
Assigned 10/10/2012 (4651 days ago)
Resolved 10/11/2012 (4650 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
10/15/2012 08:45:24 PM Git Commit Comment #8 Reply to this comment
Changes have been made in Git (develop):

commit b6988967f200c3bb888ef6199b1649926024f3b8
Author: Michael M Slusarz <slusarz@horde.org>
Date:   Wed Oct 10 17:25:37 2012 -0600

     Bug #11153: Correctly maintain original CSS styling when 
displaying blocked CSS rules

  imp/lib/Mime/Viewer/Html.php |   13 +++++++++++--
  1 files changed, 11 insertions(+), 2 deletions(-)

http://git.horde.org/horde-git/-/commit/b6988967f200c3bb888ef6199b1649926024f3b8
10/11/2012 05:26:25 AM Michael Slusarz Version ⇒ Git master
Queue ⇒ IMP
State ⇒ Resolved
 
10/11/2012 05:25:10 AM Git Commit Comment #7 Reply to this comment
Changes have been made in Git (master):

commit b6988967f200c3bb888ef6199b1649926024f3b8
Author: Michael M Slusarz <slusarz@horde.org>
Date:   Wed Oct 10 17:25:37 2012 -0600

     Bug #11153: Correctly maintain original CSS styling when 
displaying blocked CSS rules

  imp/lib/Mime/Viewer/Html.php |   13 +++++++++++--
  1 files changed, 11 insertions(+), 2 deletions(-)

http://git.horde.org/horde-git/-/commit/b6988967f200c3bb888ef6199b1649926024f3b8
10/10/2012 07:29:01 PM Michael Slusarz Comment #6 Reply to this comment
The CSS data from the @media block is being output separately from the 
base block.  So it looks like an issue with the CSS compressor.
10/10/2012 08:44:34 AM Jan Schneider Comment #5
State ⇒ Assigned
New Attachment: bug11153.eml Download
Reply to this comment
Found one.
10/10/2012 07:42:07 AM Michael Slusarz Comment #4
State ⇒ Not A Bug
Reply to this comment
Going to close then, until you (or I) can reproduce again.
10/10/2012 07:26:07 AM Jan Schneider Comment #3 Reply to this comment
And there is no attachment.
Crap, of course I don't know anymore which message caused this.

10/10/2012 05:57:01 AM Michael Slusarz Comment #2 Reply to this comment
Just saw this for the first time.  And there is no attachment.
04/17/2012 05:28:00 PM Jan Schneider Comment #1
Milestone ⇒
State ⇒ Assigned
Patch ⇒ No
Assigned to Michael Slusarz
Queue ⇒ Horde Framework Packages
Summary ⇒ STYLE tag from HTML message being stripped off
Type ⇒ Bug
Priority ⇒ 1. Low
Reply to this comment
With the attached message, the STYLE tag from the head is stripped 
when displaying the message in the preview. For some reason it works 
fine when viewing the HTML part in a popup.
I have tracked it down so far that I see the node being processed in 
the iteration in Horde_Mime_Viewer_Html, line 164. After the iteration 
the tag is lost though.

Saved Queries