diff --git a/app/views/mailer/account_information.html.erb b/app/views/mailer/account_information.html.erb index 94c3297ed..70040f8e3 100644 --- a/app/views/mailer/account_information.html.erb +++ b/app/views/mailer/account_information.html.erb @@ -8,4 +8,4 @@ <% end %> -

<%= l(:label_login) %>: <%= auto_link(@login_url) %>

+

<%= l(:label_login) %>: <%= auto_link(@login_url).html_safe %>

diff --git a/app/views/mailer/lost_password.html.erb b/app/views/mailer/lost_password.html.erb index 40bb8e9c9..18d1be303 100644 --- a/app/views/mailer/lost_password.html.erb +++ b/app/views/mailer/lost_password.html.erb @@ -1,4 +1,4 @@

<%= l(:mail_body_lost_password) %>
-<%= auto_link(@url) %>

+<%= auto_link(@url).html_safe %>

<%= l(:field_login) %>: <%=h @token.user.login %>

diff --git a/app/views/mailer/register.html.erb b/app/views/mailer/register.html.erb index 145c3d7c9..2e382e6ba 100644 --- a/app/views/mailer/register.html.erb +++ b/app/views/mailer/register.html.erb @@ -1,2 +1,2 @@

<%= l(:mail_body_register) %>
-<%= auto_link(@url) %>

+<%= auto_link(@url).html_safe %>

diff --git a/app/views/mailer/test.html.erb b/app/views/mailer/test.html.erb index 25ad20c51..fe5b6f313 100644 --- a/app/views/mailer/test.html.erb +++ b/app/views/mailer/test.html.erb @@ -1,2 +1,2 @@

This is a test email sent by Redmine.
-Redmine URL: <%= auto_link(@url) %>

+Redmine URL: <%= auto_link(@url).html_safe %>