class Asciidoctor::HTML5::InlineImageTemplate
def template
def template # care is taken here to avoid a space inside the optional <a> tag @template ||= @eruby.new <<-EOS #encoding:UTF-8%><span class="image#{role_class}"><% attr? :link %><a class="image" href="<%= attr :link %>"><% d %><img src="<%= image_uri(@target) %>" alt="<%= attr :alt %>"#{attribute('width', :width)}#{attribute('height', :height)}#{attribute('title', :title)}><% attr? :link%></a><% end </span> EOS end