# File lib/asciidoctor/backends/html5.rb, line 1188 def result(node) index = node.attr :index if node.type == :xref %Q(<span class="footnoteref">[<a class="footnote" href="#_footnote_#{index}" title="View footnote.">#{index}</a>]</span>) else id_attribute = node.id ? %Q( id="_footnote_#{node.id}") : nil %Q(<span class="footnote"#{id_attribute}>[<a id="_footnoteref_#{index}" class="footnote" href="#_footnote_#{index}" title="View footnote.">#{index}</a>]</span>) end end
# File lib/asciidoctor/backends/html5.rb, line 1198 def template :invoke_result end