# File lib/asciidoctor/attribute_list.rb, line 182
  def parse_attribute_value(quote)
    # empty quoted value
    if @scanner.peek(1) == quote
      @scanner.get_byte 
      return ''
    end

    value = scan_to_quote quote
    if value.nil?
      quote + scan_to_delimiter
    else
      @scanner.get_byte
      value.gsub(UNESCAPE_PATTERNS[@escape_char + quote], quote)
    end
  end