strikethrough.t 439 B

12345678910111213141516
  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