From: Jean-Philippe Lang Date: Wed, 2 Jul 2008 17:27:16 +0000 (+0000) Subject: Escapes HTML tags. X-Git-Tag: 0.8.0-RC1~382 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=9703f576d96c113f9c73a87f85ad7da3241525b2;p=redmine.git Escapes HTML tags. git-svn-id: http://redmine.rubyforge.org/svn/trunk@1612 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/views/account/show.rhtml b/app/views/account/show.rhtml index 97212b377..2d0731b42 100644 --- a/app/views/account/show.rhtml +++ b/app/views/account/show.rhtml @@ -1,7 +1,7 @@

<%=h @user.name %>

-<%= mail_to @user.mail unless @user.pref.hide_mail %> +<%= mail_to(h(@user.mail)) unless @user.pref.hide_mail %>