module Haml::Helpers

def html_attrs(lang = 'en-US')

Returns:
  • ({#to_s => String}) - The attribute hash

Parameters:
  • lang (String) -- The value of `xml:lang` and `lang`
def html_attrs(lang = 'en-US')
  {:xmlns => "http://www.w3.org/1999/xhtml", 'xml:lang' => lang, :lang => lang}
end