diff --git a/lib/html2doc/math.rb b/lib/html2doc/math.rb index 8d232e3..8d9beb7 100644 --- a/lib/html2doc/math.rb +++ b/lib/html2doc/math.rb @@ -67,6 +67,7 @@ def mathml_preserve_space(math, docnamespaces) HTML_NS = 'xmlns="http://www.w3.org/1999/xhtml"'.freeze def unitalic(math) + require "debug"; binding.b math.ooxml_xpath(".//r[rPr[not(scr)]/sty[@m:val = 'p']]").each do |x| x.wrap("") end