lib/isodoc/presentation_function/xrefs.rb in isodoc-2.5.5 vs lib/isodoc/presentation_function/xrefs.rb in isodoc-2.5.6

- old
+ new

@@ -4,11 +4,11 @@ l10n(@i18n.nested_xref.sub(/%1/, anchor_xref(node, container)) .sub(/%2/, linkend)) end def anchor_value(id) - @xrefs.anchor(id, :value) || @xrefs.anchor(id, :label) || - @xrefs.anchor(id, :xref) + @xrefs.anchor(id, :bare_xref) || @xrefs.anchor(id, :value) || + @xrefs.anchor(id, :label) || @xrefs.anchor(id, :xref) end def anchor_linkend(node, linkend) node["style"] == "id" and return anchor_id_postproc(node)