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

0001 . tests/functions.sh
0002 
0003 title "bugs & misfeatures found during the Reddit rollout"
0004 
0005 rc=0
0006 MARKDOWN_FLAGS=
0007 
0008 try 'smiley faces?' '[8-9] <]:-( x ---> [4]' \
0009                     '<p>[8-9] &lt;]:-( x &mdash;> [4]</p>'
0010 
0011 try 'really long ETX headers' \
0012     '#####################################################hi' \
0013     '<h6>###############################################hi</h6>'
0014 
0015 try 'unescaping "  " inside `code`' \
0016 '`foo  
0017 bar`' \
0018 '<p><code>foo  
0019 bar</code></p>'
0020 
0021 try 'unescaping "  " inside []()' \
0022 '[foo](bar  
0023 bar)' \
0024 '<p><a href="bar  %0Abar">foo</a></p>'
0025 
0026 summary $0
0027 exit $rc