Text::Markdown::Discount
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

27 lines
563 B

. tests/functions.sh
title "bugs & misfeatures found during the Reddit rollout"
rc=0
MARKDOWN_FLAGS=
try 'smiley faces?' '[8-9] <]:-( x ---> [4]' \
'<p>[8-9] &lt;]:-( x &mdash;> [4]</p>'
try 'really long ETX headers' \
'#####################################################hi' \
'<h6>###############################################hi</h6>'
try 'unescaping " " inside `code`' \
'`foo
bar`' \
'<p><code>foo
bar</code></p>'
try 'unescaping " " inside []()' \
'[foo](bar
bar)' \
'<p><a href="bar %0Abar">foo</a></p>'
summary $0
exit $rc