lib/isodoc/presentation_function/section.rb in isodoc-2.0.8 vs lib/isodoc/presentation_function/section.rb in isodoc-2.0.8.1

- old
+ new

@@ -67,11 +67,11 @@ end def bibliography_bibitem_number_skip(bibitem) @xrefs.klass.implicit_reference(bibitem) || bibitem.at(ns(".//docidentifier[@type = 'metanorma']")) || - bibitem.at(ns(".//docidentifier[@type = 'metanorma-ordinal']")) - # || @xrefs.klass.standard?(bibitem) + bibitem.at(ns(".//docidentifier[@type = 'metanorma-ordinal']")) || + bibitem["hidden"] == "true" || bibitem.parent["hidden"] == "true" end def bibliography_bibitem_number(docxml) i = 0 docxml.xpath(ns("//references[@normative = 'false']/bibitem")).each do |b|