lib/isodoc/gb/gbwordrender.rb in metanorma-gb-1.0.6 vs lib/isodoc/gb/gbwordrender.rb in metanorma-gb-1.0.7
- old
+ new
@@ -181,10 +181,10 @@
end
def annex_name(annex, name, div)
div.h1 **{ class: "Annex" } do |t|
t << "#{get_anchors[annex['id']][:label]}<br/><br/>"
- t << name.text
+ name&.children&.each { |c2| parse(c2, t) }
end
end
def term_defs_boilerplate(div, source, term, preface)
(source.empty? && term.nil?) and div << @no_terms_boilerplate or