Warning, /education/cantor/thirdparty/discount-2.2.6-patched/tests/automatic.t is written in an unsupported language. File is not indexed.
0001 . tests/functions.sh 0002 0003 title "automatic links" 0004 0005 rc=0 0006 MARKDOWN_FLAGS= 0007 0008 try 'http url' '<http://here>' '<p><a href="http://here">http://here</a></p>' 0009 try 'ftp url' '<ftp://here>' '<p><a href="ftp://here">ftp://here</a></p>' 0010 try 'http://foo/bar' '<http://foo/bar>' '<p><a href="http://foo/bar">http://foo/bar</a></p>' 0011 try 'http:/foo/bar' '<http:/foo/bar>' '<p><a href="http:/foo/bar">http:/foo/bar</a></p>' 0012 try 'http:foo/bar' '<http:foo/bar>' '<p><a href="http:foo/bar">http:foo/bar</a></p>' 0013 try '</foo/bar>' '</foo/bar>' '<p></foo/bar></p>' 0014 match '<orc@pell.portland.or.us>' '<orc@pell.portland.or.us>' '<a href=' 0015 match '<orc@pell.com.>' '<orc@pell.com.>' '<a href=' 0016 try 'invalid <orc@>' '<orc@>' '<p><orc@></p>' 0017 try 'invalid <@pell>' '<@pell>' '<p><@pell></p>' 0018 try 'invalid <orc@pell>' '<orc@pell>' '<p><orc@pell></p>' 0019 try 'invalid <orc@.pell>' '<orc@.pell>' '<p><orc@.pell></p>' 0020 try 'invalid <orc@pell.>' '<orc@pell.>' '<p><orc@pell.></p>' 0021 match '<mailto:orc@pell>' '<mailto:orc@pell>' '<a href=' 0022 match '<mailto:orc@pell.com>' '<mailto:orc@pell.com>' '<a href=' 0023 match '<mailto:orc@>' '<mailto:orc@>' '<a href=' 0024 match '<mailto:@pell>' '<mailto:@pell>' '<a href=' 0025 0026 summary $0 0027 exit $rc