lib/html2doc/math.rb
Method unitalic
has 43 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def unitalic(math)
math.xpath(".//xmlns:r[xmlns:rPr[not(xmlns:scr)]/xmlns:sty[@m:val = 'p']]").each do |x|
x.wrap("<span #{HTML_NS} style='font-style:normal;'></span>")
end
math.xpath(".//xmlns:r[xmlns:rPr[not(xmlns:scr)]/xmlns:sty[@m:val = 'bi']]").each do |x|
Method progress_conv
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def progress_conv(idx, step, total, threshold, msg)