Method: IsoDoc::PresentationXMLConvert#concept1_ref
- Defined in:
- lib/isodoc/presentation_function/concepts.rb
#concept1_ref(_node, ref, opts) ⇒ Object
53 54 55 56 57 58 59 60 |
# File 'lib/isodoc/presentation_function/concepts.rb', line 53 def concept1_ref(_node, ref, opts) ref.nil? and return opts[:ref] == "false" and return ref.remove concept1_ref_content(ref) %w(xref eref).include? ref.name and get_linkend(ref) opts[:linkref] == "false" && %w(xref eref).include?(ref.name) and ref.replace(ref.children) end |