Warning, /education/cantor/thirdparty/discount-2.2.6-patched/tests/backslash.t is written in an unsupported language. File is not indexed.

0001 . tests/functions.sh
0002 
0003 title "backslash escapes"
0004 
0005 rc=0
0006 MARKDOWN_FLAGS=
0007 
0008 try 'backslashes in []()' '[foo](http://\this\is\.a\test\(here\))' \
0009 '<p><a href="http://\this\is.a\test(here)">foo</a></p>'
0010 
0011 try -fautolink 'autolink url with trailing \' \
0012     'http://a.com/\' \
0013     '<p><a href="http://a.com/\">http://a.com/\</a></p>'
0014 
0015 
0016 try 'backslashes before <text' '\<code>' '<p>\<code></p>'
0017 try 'backslashes before <{EOF}' '\<' '<p>&lt;</p>'
0018 try 'backslashes before <[space]' '\< j' '<p>&lt; j</p>'
0019 
0020 summary $0
0021 exit $rc