class Roadie::MarkupImprover
def ensure_html_element_present
def ensure_html_element_present return if dom.at_xpath('html') html = Nokogiri::XML::Node.new 'html', dom dom << html end
def ensure_html_element_present return if dom.at_xpath('html') html = Nokogiri::XML::Node.new 'html', dom dom << html end