Method: IsoDoc::Function::Blocks#annotation_parse

Defined in:
lib/isodoc/function/blocks.rb

#annotation_parse(node, out) ⇒ Object



121
122
123
124
125
126
127
128
129
# File 'lib/isodoc/function/blocks.rb', line 121

def annotation_parse(node, out)
  @sourcecode = false
  @annotation = true
  out.span **{ class: "zzMoveToFollowing" } do |s|
    s  << "&lt;#{node.at(ns("//callout[@target='#{node['id']}']")).text}&gt; "
  end
  node.children.each { |n| parse(n, out) }
  @annotation = false
end