. tests/functions.sh title "safe links" rc=0 MARKDOWN_FLAGS= try -fsafelink 'bogus url' '[test](bad:protocol)' \ '

[test](bad:protocol)

' try -fsafelink 'illegal url' '[test](b?d:protocol)' \ '

test

' try -fsafelink 'url fragment (1)' '[test](#bar)' '

test

' try -fsafelink 'url fragment (2)' '[test](/bar)' '

test

' try -fnosafelink 'bogus url (-fnosafelink)' '[test](bad:protocol)' '

test

' summary $0 exit $rc