From: Tom Hughes Date: Mon, 20 Feb 2012 11:44:43 +0000 (+0000) Subject: Don't escape the name - rails will handle it X-Git-Tag: live~6425 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/1cef3c79e3b5bbef348c7029038e70b8da848f02?hp=346b097d8544baba090b45d28f42d74021d14356 Don't escape the name - rails will handle it --- diff --git a/app/views/browse/node.html.erb b/app/views/browse/node.html.erb index 49d535b31..7b0ad746c 100644 --- a/app/views/browse/node.html.erb +++ b/app/views/browse/node.html.erb @@ -6,7 +6,7 @@ <%= stylesheet_link_tag 'browse' %> <% end %> <%= render :partial => "navigation" %> -

<%= t'browse.node.node_title', :node_name => h(@name) %>

+

<%= t'browse.node.node_title', :node_name => @name %>

<%= render :partial => "map", :object => @node %> <%= render :partial => "node_details", :object => @node %>
diff --git a/app/views/browse/relation.html.erb b/app/views/browse/relation.html.erb index 5b222396d..2128d18a9 100644 --- a/app/views/browse/relation.html.erb +++ b/app/views/browse/relation.html.erb @@ -6,7 +6,7 @@ <%= stylesheet_link_tag 'browse' %> <% end %> <%= render :partial => "navigation" %> -

<%= t'browse.relation.relation_title', :relation_name => h(@name) %>

+

<%= t'browse.relation.relation_title', :relation_name => @name %>

<%= render :partial => "map", :object => @relation %> <%= render :partial => "relation_details", :object => @relation %>
diff --git a/app/views/browse/way.html.erb b/app/views/browse/way.html.erb index 3489d7c23..41341fef8 100644 --- a/app/views/browse/way.html.erb +++ b/app/views/browse/way.html.erb @@ -6,7 +6,7 @@ <%= stylesheet_link_tag 'browse' %> <% end %> <%= render :partial => "navigation" %> -

<%= t'browse.way.way_title', :way_name => h(@name) %>

+

<%= t'browse.way.way_title', :way_name => @name %>

<%= render :partial => "map", :object => @way %> <%= render :partial => "way_details", :object => @way %>