Permalink
Browse files

assume translations are html_safe

  • Loading branch information...
1 parent cfef63b commit 4f91d5db25adf5fa9ce381977292d608e968d36e Sven Fuchs committed Sep 15, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/minimal/template/translated_tags.rb
@@ -5,7 +5,7 @@ class Minimal::Template
module TranslatedTags
TRANSLATED_TAGS.each do |name|
define_method(name) do |*args, &block|
- args[0] = t(args[0]) if args[0].is_a?(Symbol)
+ args[0] = t(args[0]).html_safe if args[0].is_a?(Symbol)
super(*args, &block)
end
end

0 comments on commit 4f91d5d

Please sign in to comment.