# File lib/asciidoctor/backends/html5.rb, line 867 def quote_text(text, type, role) start_tag, end_tag = QUOTE_TAGS[type] || NO_TAGS if role if start_tag.start_with? '<' %Q(#{start_tag.chop} class="#{role}">#{text}#{end_tag}) else %Q(#{start_tag}<span class="#{role}">#{text}</span>#{end_tag}) end else "#{start_tag}#{text}#{end_tag}" end end
# File lib/asciidoctor/backends/html5.rb, line 880 def result(node) quote_text(node.text, node.type, (node.attr 'role')) end
# File lib/asciidoctor/backends/html5.rb, line 884 def template :invoke_result end