# File lib/asciidoctor/backends/html5.rb, line 554 def result(node) id_attribute = node.id ? %( id="#{node.id}") : nil title_element = node.title? ? %(<div class="title">#{node.captioned_title}</div>\n) : nil %(<div#{id_attribute} class="#{!node.role? ? 'exampleblock' : ['exampleblock', node.role] * ' '}"> #{title_element}<div class="content"> #{node.content} </div> </div>) end
Generated with the Darkfish Rdoc Generator 2.