lib/traducto/base.rb in traducto-1.0.1 vs lib/traducto/base.rb in traducto-1.0.2

- old
+ new

@@ -52,10 +52,10 @@ end def format_text @text = [@text] if not @text.is_a? Array - @text = @text.map { |x| content_tag(:p, x) }.join.html_safe + @text = @text.map { |x| content_tag(:p, x.html_safe) }.join.html_safe end def i18n_translate(key) @text = I18n.translate(key, @options) end