lib/isodoc/gb/gbbaseconvert.rb in metanorma-gb-1.2.1 vs lib/isodoc/gb/gbbaseconvert.rb in metanorma-gb-1.2.2
- old
+ new
@@ -99,9 +99,10 @@
def note_parse(node, out)
@note = true
out.table **attr_code(id: node["id"], class: "Note") do |t|
t.tr do |tr|
+ @libdir = File.dirname(__FILE__)
tr.td **EXAMPLE_TBL_ATTR do |td|
td << l10n(note_label(node) + ":")
end
tr.td **{ valign: "top", class: "Note" } do |td|
node.children.each { |n| parse(n, td) }