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