# Attempt to parse a link title (sans quotes), returning the string or null if no match
private fun parse_link_title: nullable String do
var c = peek
if c != '\'' and c != '"' and c != '(' then
return null
end
var opener = c
var buffer = new Buffer
loop
advance 1
c = peek
if c == opener or (opener == '(' and c == ')') then
advance 1
break
else if c == '\\' then
var next = peek_next
if escapable.has(next) then
buffer.add next
advance 1
continue
end
else if c == '\0' then
return null
end
buffer.add c
end
return buffer.to_s
end
lib/markdown2/markdown_inline_parsing.nit:691,2--719,4