lib/maruku/input/parse_span.rb
# Tries to read a quoted value. If stream does not
# start with ' or ", returns nil.
Tries to read a quoted value. If stream does not
start with ' or ", returns nil.
Tries to read a quoted value . If stream does not start with ' or " returns nil .
def read_quoted(src, con)
    case src.cur_char
    when "'", '"'
      quote_char = src.shift_char 
      string = read_simple(src, EscapedCharInQuotes, quote_char)
      src.ignore_char 
      string
    else
      nil
    end
  end
def read_quoted ( src , con ) case src . cur_char when "'" , '"' quote_char = src . shift_char string = read_simple ( src , EscapedCharInQuotes , quote_char ) src . ignore_char string else nil end end
Tries to read a quoted value.
Tries to read a quoted value .
# opening quote # closing quote
src
<not_specific>
con
<not_specific>