# File lib/asciidoctor/backends/html5.rb, line 980
  def template
    # care is taken here to avoid a space inside the optional <a> tag
    @template ||= @eruby.new "<%#encoding:UTF-8%><span class=\"image\#{role_class}\"><%\nif attr? :link %><a class=\"image\" href=\"<%= attr :link %>\"><%\nend %><img src=\"<%= image_uri(@target) %>\" alt=\"<%= attr :alt %>\"\#{attribute('width', :width)}\#{attribute('height', :height)}\#{attribute('title', :title)}><%\nif attr? :link%></a><% end\n%></span>\n"
  end