Method: IsoDoc::PresentationXMLConvert#concept1_ref_content
- Defined in:
- lib/isodoc/presentation_function/concepts.rb
#concept1_ref_content(ref) ⇒ Object
87 88 89 90 91 92 93 94 95 96 |
# File 'lib/isodoc/presentation_function/concepts.rb', line 87 def concept1_ref_content(ref) prev = "[" foll = "]" non_locality_elems(ref).select do |c| !c.text? || /\S/.match(c) end.empty? or (prev, foll = @i18n.term_defined_in.split("%")) ref.previous = prev ref.next = foll end |