# File lib/asciidoctor/backends/docbook45.rb, line 719 def template @template ||= @eruby.new <<-EOF <%#encoding:UTF-8%><inlinemediaobject> <imageobject> <imagedata fileref="<%= @type == 'icon' ? icon_uri(@target) : image_uri(@target) %>"#{attribute('width', :width)}#{attribute('depth', :height)}/> </imageobject> <textobject><phrase><%= attr :alt %></phrase></textobject> </inlinemediaobject> EOF end