lib/isodoc/nist/section.rb in metanorma-nist-1.0.10 vs lib/isodoc/nist/section.rb in metanorma-nist-1.1.0

- old
+ new

@@ -23,10 +23,10 @@ end def preface1(c, title, patent, out) out.div **attr_code(id: c["id"]) do |s| page_break(s) if patent - clause_name(anchor(c['id'], :label), title, s, + clause_name(@xrefs.anchor(c['id'], :label), title, s, class: (c.name == "executivesummary") ? "NormalTitle" : "IntroTitle") c.elements.reject { |c1| c1.name == "title" }.each do |c1| parse(c1, s) end