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