]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/changeset.html.erb
Don't linkify comments in the changeset list
[rails.git] / app / views / browse / changeset.html.erb
index 736abf12fbc44efd23fa708d862ce1cbeda0f3fd..31799f0e9f9e5e592537decb6bfe65e1cc9223ef 100644 (file)
@@ -6,7 +6,7 @@
 </h2>
 
 <div class="browse-section">
-  <h4><%= @changeset.tags['comment'].to_s.presence || t('browse.no_comment') %></h4>
+  <h4><%= linkify(h(@changeset.tags['comment'].to_s.presence || t('browse.no_comment'))) %></h4>
   <div class="details"><%= changeset_details(@changeset) %></div>
 
   <%= render :partial => "tag_details", :object => @changeset.tags.except('comment') %>