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.
 
 
 
 
 
 

18 lines
635 B

. tests/functions.sh
title "xml output with MKD_CDATA"
rc=0
MARKDOWN_FLAGS=
try -fcdata 'xml output from markdown()' 'hello,sailor' '<p>hello,sailor</p>'
try -fcdata 'from mkd_generateline()' -t'"hello,sailor"' '“hello,sailor”'
try -fnocdata 'html output from markdown()' '"hello,sailor"' '<p>&ldquo;hello,sailor&rdquo;</p>'
try -fnocdata '... from mkd_generateline()' -t'"hello,sailor"' '&ldquo;hello,sailor&rdquo;'
try -fcdata 'xml output with multibyte utf-8' \
'tecnología y servicios más confiables' \
'&lt;p&gt;tecnología y servicios más confiables&lt;/p&gt;'
summary $0
exit $rc