lib/metanorma/collection/renderer/fileparse.rb in metanorma-2.0.3 vs lib/metanorma/collection/renderer/fileparse.rb in metanorma-2.0.4

- old
+ new

@@ -108,9 +108,10 @@ docxml end def svgmap_resolve_eref(eref, isodoc, _docxml, ids) href = isodoc.eref_target(eref) or return + href = href[:link] href == "##{eref['bibitemid']}" || (href =~ /^#/ && !ids[href.sub(/^#/, "")]) and return eref["target"] = href.strip eref.name = "link" eref.elements&.remove