Project

General

Profile

Actions

Defect #15716

closed

Scraped emails include CSS from HTML emails

Added by Deoren Moor over 10 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Normal
Category:
Email receiving
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

I'm not sure how many others are encountering this behavior, but when replying to an email notification (and making sure to remove all text from the body) the CSS for HTML emails is included as if it were written by the user. In this particular case I responded to a notification using the default mail client from iOS 7.

Example reply:

Sure, that will work.

body {
font-family: Verdana, sans-serif;
font-size: 0.8em;
color:#484848;
}
h1, h2, h3 { font-family: "Trebuchet MS", Verdana, sans-serif; margin: 0px; }
h1 { font-size: 1.2em; }
h2, h3 { font-size: 1.1em; }
a, a:link, a:visited { color: #2A5685;}
a:hover, a:active { color: #c61a1a; }
a.wiki-anchor { display: none; }
fieldset.attachments {border-width: 1px 0 0 0;}
hr {
width: 100%;
height: 1px;
background: #ccc;
border: 0;
}
span.footer {
font-size: 0.8em;
font-style: italic;
}

Our environment:

  Redmine version                2.4.1.stable.12325
  Ruby version                   1.8.7-p352 (2011-06-30) [i686-linux]
  Rails version                  3.2.15
  Environment                    production
  Database adapter               MySQL

Files


Related issues

Related to Redmine - Defect #19740: "Truncate emails after one of these lines" setting is not workingClosed

Actions
Related to Redmine - Defect #20311: Task from Email - Styles in task textClosed

Actions
Actions

Also available in: Atom PDF