]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/oauth/authorize_success.html.erb
Use _html suffix to avoid using raw when displaying translated strings
[rails.git] / app / views / oauth / authorize_success.html.erb
index 9c817372fd50f262c0e604c741f63fb2a81452ca..63239a386ae56805ae5ddfa208dc0b58a3e8d0a0 100644 (file)
@@ -2,7 +2,7 @@
   <h1><%= t ".title" %></h1>
 <% end %>
 
-<p><%= raw t(".allowed", :app_name => link_to(@token.client_application.name, @token.client_application.url)) %></p>
+<p><%= t(".allowed_html", :app_name => link_to(@token.client_application.name, @token.client_application.url)) %></p>
 
 <% if @token.oob? and not @token.oauth10? %>
 <p><%= t ".verification", :code => @token.verifier %></p>