summaryrefslogtreecommitdiffstats
path: root/app/helpers/application_helper.rb
diff options
context:
space:
mode:
authorMarius Balteanu <marius.balteanu@zitec.com>2022-12-04 08:14:51 +0000
committerMarius Balteanu <marius.balteanu@zitec.com>2022-12-04 08:14:51 +0000
commit904752b2254199ff8f1513afa93a9e738c630929 (patch)
tree44e9e45680aa14d9bf1a6892bc1ace264ce28330 /app/helpers/application_helper.rb
parent5ddd36da7e95f019162aa1154f763b882c74ad0b (diff)
downloadredmine-904752b2254199ff8f1513afa93a9e738c630929.tar.gz
redmine-904752b2254199ff8f1513afa93a9e738c630929.zip
Merge r21986 from trunk to 5.0-stable (#37755).
git-svn-id: https://svn.redmine.org/redmine/branches/5.0-stable@21988 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/helpers/application_helper.rb')
-rw-r--r--app/helpers/application_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb
index 3bb8a602d..5c5cf39a5 100644
--- a/app/helpers/application_helper.rb
+++ b/app/helpers/application_helper.rb
@@ -60,7 +60,7 @@ module ApplicationHelper
case principal
when User
name = h(principal.name(options[:format]))
- name = "@" + name if options[:mention]
+ name = "@".html_safe + name if options[:mention]
css_classes = ''
if principal.active? || (User.current.admin? && principal.logged?)
url = user_url(principal, :only_path => only_path)