module Asciidoctor::Substitutors
def sub_quotes 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