lib/isodoc/ietf/references.rb in metanorma-ietf-3.3.1 vs lib/isodoc/ietf/references.rb in metanorma-ietf-3.3.2

- old
+ new

@@ -52,10 +52,10 @@ end def ietf_bibitem(list, bib, _ordinal) uris = bib.xpath(ns("./uri")) target = nil - uris&.each { |u| target = u.text if u["type"] == "src" } + uris&.each { |u| target = u.text if %w(src HTML).include?(u["type"]) } list.reference **attr_code(target: target, anchor: bib["id"]) do |r| bibitem_render(r, bib) end end