Rails3: view: mail: html_safe for auto_link

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8895 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2012-02-17 09:20:49 +00:00
parent c495dba18a
commit f6e7daaf18
4 changed files with 4 additions and 4 deletions

View File

@ -8,4 +8,4 @@
</ul> </ul>
<% end %> <% end %>
<p><%= l(:label_login) %>: <%= auto_link(@login_url) %></p> <p><%= l(:label_login) %>: <%= auto_link(@login_url).html_safe %></p>

View File

@ -1,4 +1,4 @@
<p><%= l(:mail_body_lost_password) %><br /> <p><%= l(:mail_body_lost_password) %><br />
<%= auto_link(@url) %></p> <%= auto_link(@url).html_safe %></p>
<p><%= l(:field_login) %>: <b><%=h @token.user.login %></b></p> <p><%= l(:field_login) %>: <b><%=h @token.user.login %></b></p>

View File

@ -1,2 +1,2 @@
<p><%= l(:mail_body_register) %><br /> <p><%= l(:mail_body_register) %><br />
<%= auto_link(@url) %></p> <%= auto_link(@url).html_safe %></p>

View File

@ -1,2 +1,2 @@
<p>This is a test email sent by Redmine.<br /> <p>This is a test email sent by Redmine.<br />
Redmine URL: <%= auto_link(@url) %></p> Redmine URL: <%= auto_link(@url).html_safe %></p>