]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/feature.html.erb
Use _html suffix to avoid using raw when displaying translated strings
[rails.git] / app / views / browse / feature.html.erb
index 6c94b0a9dfd50aa8dab39c5ec33611c29c4abd2e..7dfccb29053ba60f51eebd77be9351b5dfb1c0ef 100644 (file)
@@ -2,7 +2,7 @@
 
 <h2>
   <a class="geolink" href="<%= root_path %>"><span class="icon close"></span></a>
-  <%= raw t("browse.#{@type}.title", :name => printable_name(@feature)) %>
+  <%= t("browse.#{@type}.title_html", :name => printable_name(@feature)) %>
 </h2>
 
 <%= render :partial => @type, :object => @feature %>