def gravatar_tag(email, *params)
      html_attrs = gravatar_attrs(email, *params).map { |key,value| "#{key}=\"#{CGI.escapeHTML(value.to_s)}\"" }.sort.join(" ")
      Gravatarify::Utils.make_html_safe_if_available("<img #{html_attrs} />");
    end
def gravatar_tag(email, *params)
      html_attrs = gravatar_attrs(email, *params).map { |key,value| "#{key}=\"#{CGI.escapeHTML(value.to_s)}\"" }.sort.join(" ")
      Gravatarify::Utils.make_html_safe_if_available("<img #{html_attrs} />");
    end
Takes care of creating an <tt><img/></tt>-tag based on a gravatar url, it no longer
 makes use of any Rails helper, so is totally useable in any other library.

 @param [String, #email, #mail, #gravatar_url] email a string or an object used
        to generate the gravatar url from
 @param [Symbol, Hash] *params other gravatar or html options for building the resulting
        image tag.
 @return [String] a complete and hopefully valid +img+ tag.