# File lib/asciidoctor/backends/html5.rb, line 640 def template @template ||= @eruby.new <<-EOS <%#encoding:UTF-8%><% style = attr 'style', nil, false %><div#{id} class="olist#{style_class}#{role_class}"> #{title_div} <ol class="<%= style %>"<%= (type = ::Asciidoctor::ORDERED_LIST_KEYWORDS[style]) ? %( type="\#{type}") : nil %>#{attribute('start', :start)}><% content.each do |item| %> <li> <p><%= item.text %></p><% if item.blocks? %> <%= item.content %><% end %> </li><% end %> </ol> </div> EOS end