Method: Html2Doc.cleanup

Defined in:
lib/html2doc/base.rb

.cleanup(docxml, hash) ⇒ Object



46
47
48
49
50
51
52
53
54
55
# File 'lib/html2doc/base.rb', line 46

def self.cleanup(docxml, hash)
  namespace(docxml.root)
  image_cleanup(docxml, hash[:dir1], File.dirname(hash[:filename]))
  mathml_to_ooml(docxml)
  lists(docxml, hash[:liststyles])
  footnotes(docxml)
  bookmarks(docxml)
  msonormal(docxml)
  docxml
end