lib/isodoc/html_function/footnotes.rb in isodoc-2.5.10 vs lib/isodoc/html_function/footnotes.rb in isodoc-2.6.0

- old
+ new

@@ -34,11 +34,11 @@ end.join("\n") end def make_generic_footnote_text(node, fnid) noko do |xml| - xml.aside **{ id: "fn:#{fnid}", class: "footnote" } do |div| + xml.aside id: "fn:#{fnid}", class: "footnote" do |div| node.children.each { |n| parse(n, div) } end end.join("\n") end @@ -57,10 +57,10 @@ tid = get_table_ancestor_id(node) make_table_footnote_link(out, tid + fn, fn) return if @seen_footnote.include?(tid + fn) @in_footnote = true - out.aside **{ class: "footnote" } do |a| + out.aside class: "footnote" do |a| a << make_table_footnote_text(node, tid + fn, fn) end @in_footnote = false @seen_footnote << (tid + fn) end