. tests/functions.sh
title "embedded links"
rc=0
MARKDOWN_FLAGS=
try 'url contains &' '[hehehe](u&rl)' '
hehehe
'
try 'url contains +' '[hehehe](u+rl)' 'hehehe
'
try 'url contains "' '[hehehe](u"rl)' 'hehehe
'
try 'url contains <' '[hehehe](uhehehe'
try 'url contains whitespace' '[ha](r u)' 'ha
'
try 'label contains escaped []s' '[a\[b\]c](d)' 'a[b]c
'
try '