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.

16 lines
439 B

  1. . tests/functions.sh
  2. title "strikethrough"
  3. rc=0
  4. MARKDOWN_FLAGS=
  5. try 'strikethrough' '~~deleted~~' '<p><del>deleted</del></p>'
  6. try -fnodel '... with -fnodel' '~~deleted~~' '<p>~~deleted~~</p>'
  7. try 'mismatched tildes' '~~~tick~~' '<p><del>~tick</del></p>'
  8. try 'mismatched tildes(2)' '~~tick~~~' '<p>~~tick~~~</p>'
  9. try 'single tildes' '~tick~' '<p>~tick~</p>'
  10. try 'tildes wrapped in spaces' '~~~ ~~~' '<p>~~~ ~~~</p>'
  11. summary $0
  12. exit $rc