Skip to content
This repository
Browse code

Bah, html_safe

  • Loading branch information...
commit 433a0a8b68ccfd0b572f6f0ee77ffb3b4843f2d7 1 parent 5c1066a
authored August 14, 2011

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  app/helpers/application_helper.rb
2  app/helpers/application_helper.rb
@@ -14,7 +14,7 @@ module ApplicationHelper
14 14
   def lang_for content, subtags = {}
15 15
     langtag = Language.code_for content, subtags
16 16
 
17  
-    "xml:lang=\"#{langtag}\" lang=\"#{langtag}\""
  17
+    "xml:lang=\"#{h langtag}\" lang=\"#{h langtag}\"".html_safe
18 18
   end
19 19
     
20 20
   # Link to the first lexeme whose headword matches a given parse's parsed form.

0 notes on commit 433a0a8

Please sign in to comment.
Something went wrong with that request. Please try again.