Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
opoudjis committed Sep 4, 2023
1 parent 0c0defe commit 22a6e36
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/html2doc/math.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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|

Check warning on line 71 in lib/html2doc/math.rb

View check run for this annotation

Codecov / codecov/patch

lib/html2doc/math.rb#L71

Added line #L71 was not covered by tests
x.wrap("<span #{HTML_NS} style='font-style:normal;'></span>")
end
Expand Down

0 comments on commit 22a6e36

Please sign in to comment.