Permalink
Browse files

Bah, html_safe

  • Loading branch information...
1 parent 5c1066a commit 433a0a8b68ccfd0b572f6f0ee77ffb3b4843f2d7 @kohath kohath committed Aug 15, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/helpers/application_helper.rb
View
2 app/helpers/application_helper.rb
@@ -14,7 +14,7 @@ module ApplicationHelper
def lang_for content, subtags = {}
langtag = Language.code_for content, subtags
- "xml:lang=\"#{langtag}\" lang=\"#{langtag}\""
+ "xml:lang=\"#{h langtag}\" lang=\"#{h langtag}\"".html_safe
end
# Link to the first lexeme whose headword matches a given parse's parsed form.

0 comments on commit 433a0a8

Please sign in to comment.