Method: IsoDoc::PresentationXMLConvert#combine_xref_locations
- Defined in:
- lib/isodoc/presentation_function/xrefs.rb
#combine_xref_locations(node) ⇒ Object
91 92 93 94 95 96 97 98 99 100 |
# File 'lib/isodoc/presentation_function/xrefs.rb', line 91 def combine_xref_locations(node) locs = gather_xref_locations(node) linkend = if can_conflate_xref_rendering?(locs) combine_conflated_xref_locations(locs) else out = locs.each { |l| l[:label] = anchor_linkend1(l[:node]) } l10n(combine_conn(out)) end capitalise_xref(node, linkend, anchor_value(node["target"])) end |