module Kramdown::Utils::Html

def html_attributes(attr)

Return the HTML representation of the attributes +attr+.
def html_attributes(attr)
  attr.map {|k,v| v.nil? ? '' : " #{k}=\"#{escape_html(v.to_s, :attribute)}\"" }.join('')
end