Method: IsoDoc::PresentationXMLConvert#concept1_ref

Defined in:
lib/isodoc/presentation_function/concepts.rb

#concept1_ref(_node, ref, opts) ⇒ Object



78
79
80
81
82
83
84
85
# File 'lib/isodoc/presentation_function/concepts.rb', line 78

def concept1_ref(_node, ref, opts)
  ref.nil? and return
  opts[:ref] == "false" and return ref.remove
  concept1_ref_content(ref)
  %w(fmt-xref fmt-eref).include? ref.name and get_linkend(ref)
  opts[:linkref] == "false" && %w(fmt-xref fmt-eref).include?(ref.name) and
    ref.replace(ref.children)
end