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

  1. . tests/functions.sh
  2. title "bugs & misfeatures found during the Reddit rollout"
  3. rc=0
  4. MARKDOWN_FLAGS=
  5. try 'smiley faces?' '[8-9] <]:-( x ---> [4]' \
  6. '<p>[8-9] &lt;]:-( x &mdash;> [4]</p>'
  7. try 'really long ETX headers' \
  8. '#####################################################hi' \
  9. '<h6>###############################################hi</h6>'
  10. try 'unescaping " " inside `code`' \
  11. '`foo
  12. bar`' \
  13. '<p><code>foo
  14. bar</code></p>'
  15. try 'unescaping " " inside []()' \
  16. '[foo](bar
  17. bar)' \
  18. '<p><a href="bar %0Abar">foo</a></p>'
  19. summary $0
  20. exit $rc