. tests/functions.sh title "smarty pants" rc=0 MARKDOWN_FLAGS=0x0; export MARKDOWN_FLAGS try '(c) -> ©' '(c)' '

©

' try '(r) -> ®' '(r)' '

®

' try '(tm) -> ™' '(tm)' '

' try '... -> …' '...' '

' try '"?--" -> –' '?--' '

?–

' try '"?---" -> —' '?---' '

?—

' try '"--" -> –' 'regular --' '

regular –

' try 'A-B -> A-B' 'A-B' '

A-B

' try '"fancy" -> “fancy”' '"fancy"' '

“fancy”

' try "'fancy'" "'fancy'" '

‘fancy’

' try "don't -> don’t" "don't" '

don’t

' try "don't -> don’t" "don't" '

don’t

' try "it's -> it’s" "it's" '

it’s

' summary $0 exit $rc