Email receiving: bad formatting in redmine when adding a comment to an existing issue
Added by Olivier Pierard over 13 years ago
Dear all,
For customer access to our support, I plan to use email instead of web access (too much informations printed on the main page and the issue submission page).
Issue creation is OK.
When adding a comment in to an existing issue, I plan to recommend to reply to the notification email of the issue creation (changing the no-reply to correct address). My Thunderbird (2.0) configuration inserts original mail indented and with a blue line on the left. I send the mail in html format.
Parts of the comment in Redmine is rather ugly (without the '> '):
Add a comment by replying to the e-mail in html format
no-reply@xxxxxx.be wrote:
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; }
...
Having a look a the mail source, I have:
Add a comment by replying to the e-mail in html format<br>
<br>
<a class="moz-txt-link-abbreviated" href="mailto:no-reply@xxxxxx.be">no-reply@xxxxxx.be</a> wrote:<blockquote cite="mid:redmine.issue-1632.20111005140507@xxxxxx.be"
type="cite">
<style>
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; }
...
It seems that html tags are not correctly removed ? Typically, bad section in the comment is in the 'blockquote' tag.
Is there a way to avoid such problems ? Is this a bug in Redmine ?
Thanks for your help,
Olivier