##// END OF EJS Templates
Rails3: view: mail: html_safe for header and footer...
Toshi MARUYAMA -
r8774:c495dba18a91
parent child
Show More
@@ -1,33 +1,33
1 1 <html>
2 2 <head>
3 3 <style>
4 4 body {
5 5 font-family: Verdana, sans-serif;
6 6 font-size: 0.8em;
7 7 color:#484848;
8 8 }
9 9 h1, h2, h3 { font-family: "Trebuchet MS", Verdana, sans-serif; margin: 0px; }
10 10 h1 { font-size: 1.2em; }
11 11 h2, h3 { font-size: 1.1em; }
12 12 a, a:link, a:visited { color: #2A5685;}
13 13 a:hover, a:active { color: #c61a1a; }
14 14 a.wiki-anchor { display: none; }
15 15 hr {
16 16 width: 100%;
17 17 height: 1px;
18 18 background: #ccc;
19 19 border: 0;
20 20 }
21 21 .footer {
22 22 font-size: 0.8em;
23 23 font-style: italic;
24 24 }
25 25 </style>
26 26 </head>
27 27 <body>
28 <span class="header"><%= Redmine::WikiFormatting.to_html(Setting.text_formatting, Setting.emails_header) %></span>
28 <span class="header"><%= Redmine::WikiFormatting.to_html(Setting.text_formatting, Setting.emails_header).html_safe %></span>
29 29 <%= yield %>
30 30 <hr />
31 <span class="footer"><%= Redmine::WikiFormatting.to_html(Setting.text_formatting, Setting.emails_footer) %></span>
31 <span class="footer"><%= Redmine::WikiFormatting.to_html(Setting.text_formatting, Setting.emails_footer).html_safe %></span>
32 32 </body>
33 33 </html>
General Comments 0
You need to be logged in to leave comments. Login now