]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/trace/edit.html.erb
Rework the translatable map key to be driven by a YAML file listing the
[rails.git] / app / views / trace / edit.html.erb
index eb04e7e8d081595f06509488a1eb2f12be24a4e4..2f73d2d4ed78c30b8fdb82df0cf9b4915bf8c9d1 100644 (file)
@@ -1,4 +1,4 @@
-<h2><%= t 'trace.edit.heading', :name => @trace.name %></h2>
+<h2><%= t 'trace.edit.heading', :name => h(@trace.name) %></h2>
 
 <img src="<%= url_for :controller => 'trace', :action => 'picture', :id => @trace.id, :display_name => @trace.user.display_name %>">