Create a second title_user translation, to avoid using html_safe
This commit is contained in:
parent
972249ce9d
commit
1559d88048
2 changed files with 2 additions and 1 deletions
|
@ -6,7 +6,7 @@
|
|||
|
||||
<% set_title(changeset_index_title(params, current_user))
|
||||
@heading = if params[:display_name]
|
||||
t("changesets.index.title_user", :user => link_to(params[:display_name], user_path(:display_name => params[:display_name]))).html_safe
|
||||
t("changesets.index.title_user_link_html", :user_link => link_to(params[:display_name], user_path(:display_name => params[:display_name])))
|
||||
else
|
||||
@title
|
||||
end %>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue