. tests/functions.sh title "markdown 1.0 compatibility" rc=0 MARKDOWN_FLAGS= LINKY='[this] is a test [this]: /this' try 'implicit reference links' "$LINKY" '
this is a test
' try -f1.0 'implicit reference links (-f1.0)' "$LINKY" '[this] is a test
' WSP=' ' WHITESPACE=" white space$WSP and more" try 'trailing whitespace' "$WHITESPACE" 'white space ''
and more
'
try -f1.0 'trailing whitespace (-f1.0)' "$WHITESPACE" 'white space''
and more
'
for x in tests/data/m_*.text;do
result=`echo $x | sed -e 's/.text$/.html/'`
try -fstrict,nopants,nosuperscript "`basename $x`" "`cat $x`" "`cat $result`"
done
summary $0
exit $rc