lib/isodoc/presentation_function/xrefs.rb in isodoc-2.4.5 vs lib/isodoc/presentation_function/xrefs.rb in isodoc-2.5.0

- old
+ new

@@ -73,10 +73,10 @@ end def combine_conflated_xref_locations(locs) out = locs.each { |l| l[:label] = anchor_value(l[:target]) } label = @i18n.inflect(locs.first[:elem], number: "pl") - out[0][:label] = l10n("#{label} #{out[0][:label]}") + out[0][:label] = l10n("#{label} #{out[0][:label]}").strip combine_conflated_xref_locations_container(locs, l10n(combine_conn(out))) end def combine_conflated_xref_locations_container(locs, ret) container = @xrefs.anchor(locs.first[:node]["target"], :container,