lib/isodoc/function/to_word_html.rb in isodoc-1.4.1 vs lib/isodoc/function/to_word_html.rb in isodoc-1.4.2
- old
+ new
@@ -107,21 +107,21 @@
@meta.keywords isoxml, out
@meta.note isoxml, out
@meta.get
end
- def middle_title(out)
+ def middle_title(_isoxml, out)
out.p(**{ class: "zzSTDTitle1" }) { |p| p << @meta.get[:doctitle] }
end
def middle_admonitions(isoxml, out)
isoxml.xpath(ns("//sections/note | //sections/admonition")).each do |x|
parse(x, out)
end
end
def middle(isoxml, out)
- middle_title(out)
+ middle_title(isoxml, out)
middle_admonitions(isoxml, out)
i = scope isoxml, out, 0
i = norm_ref isoxml, out, i
i = terms_defs isoxml, out, i
i = symbols_abbrevs isoxml, out, i