X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e894b1845185bc004d6779bc7bf0e5f9255905f3..85cb71702e663d0588e6e4db86f10cec0eeaf993:/app/views/browse/changeset.html.erb diff --git a/app/views/browse/changeset.html.erb b/app/views/browse/changeset.html.erb index 9b68a03e7..afe3f8322 100644 --- a/app/views/browse/changeset.html.erb +++ b/app/views/browse/changeset.html.erb @@ -6,7 +6,7 @@
-
<%= linkify(h(@changeset.tags["comment"].to_s.presence || t("browse.no_comment"))) %>
+
<%= linkify(@changeset.tags["comment"].to_s.presence || t("browse.no_comment")) %>
<%= changeset_details(@changeset) %>
<%= render :partial => "tag_details", :object => @changeset.tags.except("comment") %> @@ -38,7 +38,7 @@ <%= t(".commented_by", :when => friendly_date_ago(comment.created_at), :exact_time => l(comment.created_at), - :user => link_to(h(comment.author.display_name), user_path(comment.author))).html_safe %> + :user => link_to(comment.author.display_name, user_path(comment.author))).html_safe %> <% if current_user and current_user.moderator? %> — <%= t("javascripts.changesets.show.hide_comment") %> <% end %> @@ -51,7 +51,7 @@ <%= t(".hidden_commented_by", :when => friendly_date_ago(comment.created_at), :exact_time => l(comment.created_at), - :user => link_to(h(comment.author.display_name), user_path(comment.author))).html_safe %> + :user => link_to(comment.author.display_name, user_path(comment.author))).html_safe %> — <%= t("javascripts.changesets.show.unhide_comment") %> <%= comment.body.to_html %> @@ -128,7 +128,7 @@ · <% end %> <%= user = (@prev_by_user || @next_by_user).user.display_name - link_to content_tag(:bdi, user), :controller => "changesets", :action => "index", :display_name => user %> + link_to tag.bdi(user), :controller => "changesets", :action => "index", :display_name => user %> <% if @next_by_user %> · <%= link_to "#{@next_by_user.id} >>", :id => @next_by_user.id %>