module Asciidoctor::Substitutors

def sub_quotes text

returns The converted [String] text

text - The String text to process

Public: Substitute quoted text (includes emphasis, strong, monospaced, etc.)
def sub_quotes text
  if QuotedTextSniffRx[compat = @document.compat_mode].match? text
    QUOTE_SUBS[compat].each do |type, scope, pattern|
      text = text.gsub(pattern) { convert_quoted_text $~, type, scope }
    end
  end
  text
end