# File lib/asciidoctor/backends/docbook45.rb, line 732 def template @template ||= @eruby.new <<-EOS <%#encoding:UTF-8%><% if @type == :xref %><footnoteref linkend="<%= @target %>"/><% else %><footnote<%= template.common_attrs(@id, nil, nil) %>><simpara><%= @text %></simpara></footnote><% end %> EOS end