# File lib/asciidoctor/backends/html5.rb, line 886
  def quote_text(text, type, role)
    start_tag, end_tag = QUOTE_TAGS[type] || NO_TAGS
    if role
      if start_tag.start_with? '<'
        %(#{start_tag.chop} class="#{role}">#{text}#{end_tag})
      else
        %(#{start_tag}<span class="#{role}">#{text}</span>#{end_tag})
      end
    else
      "#{start_tag}#{text}#{end_tag}"
    end
  end