]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/site/about.html.erb
Merge remote-tracking branch 'upstream/pull/2431'
[rails.git] / app / views / site / about.html.erb
index 15255d9e0d57e1fc73e799a00a87dc431b2ad45c..717059fa24d9255a75b1da63e1790aac225475d4 100644 (file)
@@ -6,7 +6,7 @@
 
     <div class='user-image'></div>
 
-    <h1><%= raw t ".used_by", :name => "<span class='user-name'>OpenStreetMap</span>", :locale => @locale %></h1>
+    <h1><%= t ".used_by_html", :name => content_tag(:span, "OpenStreetMap", :class => "user-name"), :locale => @locale %></h1>
   </div>
 
   <div class='text'>
@@ -28,7 +28,8 @@
 
     <div class='section' id='legal'>
       <h2><div class='icon legal'></div><%= t ".legal_title", :locale => @locale %></h2>
-      <p><%= t ".legal_html", :locale => @locale %></p>
+      <p><%= t ".legal_1_html", :locale => @locale %></p>
+      <p><%= t ".legal_2_html", :locale => @locale %></p>
     </div>
 
     <div class='section' id='partners'>