Method: IsoDoc::WordFunction::Body#xref_parse
- Defined in:
- lib/isodoc/word_function/body.rb
#xref_parse(node, out) ⇒ Object
223 224 225 226 227 |
# File 'lib/isodoc/word_function/body.rb', line 223 def xref_parse(node, out) target = /#/.match(node["target"]) ? node["target"].sub(/#/, ".doc#") : "##{node["target"]}" out.a(**{ "href": target }) { |l| l << get_linkend(node) } end |