module ActiveSupport::HtmlSafeTranslation

def html_safe_translation(translation)

def html_safe_translation(translation)
  if translation.respond_to?(:map)
    translation.map { |element| element.respond_to?(:html_safe) ? element.html_safe : element }
  else
    translation.respond_to?(:html_safe) ? translation.html_safe : translation
  end
end