# File lib/asciidoctor/backends/docbook45.rb, line 619 def quote_text(text, type, id, role) start_tag, end_tag = QUOTED_TAGS[type] || NO_TAGS anchor = id.nil? ? nil : %(<anchor#{common_attrs id, nil, text}/>) if role quoted_text = "#{start_tag}<phrase role=\"#{role}\">#{text}</phrase>#{end_tag}" elsif start_tag.nil? quoted_text = text else quoted_text = "#{start_tag}#{text}#{end_tag}" end anchor.nil? ? quoted_text : %(#{anchor}#{quoted_text}) end
Generated with the Darkfish Rdoc Generator 2.