Method: Html2Doc.ooxml_cleanup
- Defined in:
- lib/html2doc/math.rb
.ooxml_cleanup(m, docnamespaces) ⇒ Object
random fixes to MathML input that OOXML needs to render properly
45 46 47 48 49 50 |
# File 'lib/html2doc/math.rb', line 45 def self.ooxml_cleanup(m, docnamespaces) m = unwrap_accents(mathml_preserve_space( mathml_insert_rows(m, docnamespaces), docnamespaces)) m.add_namespace(nil, "http://www.w3.org/1998/Math/MathML") m end |