. tests/functions.sh title "Bugs & misfeatures reported by Mike Schiraldi" rc=0 MARKDOWN_FLAGS= try -fnohtml 'breaks with -fnohtml' 'foo bar' '
foo
bar
#
' try -frelax '* processing with -frelax' \ '2*4 = 8 * 1 = 2**3' \ '2*4 = 8 * 1 = 2**3
' try -fnopants '[]() with a single quote mark' \ '[Poe'"'"'s law](http://rationalwiki.com/wiki/Poe'"'"'s_Law)' \ '' try -fautolink 'autolink url with escaped spaces' \ 'http://\(here\ I\ am\)' \ '' try -fautolink 'autolink café_racer' \ 'http://en.wikipedia.org/wiki/café_racer' \ 'http://en.wikipedia.org/wiki/caf%C3%A9_racer
' try -fautolink 'autolink url with arguments' \ 'http://foo.bar?a&b=c' \ '' try '\( escapes in []()' \ '[foo](http://a.com/\(foo\))' \ '' try -fautolink 'autolink url with escaped ()' \ 'http://a.com/\(foo\)' \ '' try -fautolink 'autolink url with escaped \' \ 'http://a.com/\\\)' \ '' try -fautolink 'autolink url with -' \ 'http://experts-exchange.com' \ '' try -fautolink 'autolink url with +' \ 'http://www67.wolframalpha.com/input/?i=how+old+was+jfk+jr+when+jfk+died' \ 'http://www67.wolframalpha.com/input/?i=how+old+was+jfk+jr+when+jfk+died
' try -fautolink 'autolink url with &' \ 'http://foo.bar?a&b=c' \ '' try -fautolink 'autolink url with ,' \ 'http://www.spiegel.de/international/europe/0,1518,626171,00.html' \ 'http://www.spiegel.de/international/europe/0,1518,626171,00.html
' try -fautolink 'autolink url with : & ;' \ 'http://www.biblegateway.com/passage/?search=Matthew%205:29-30;&version=31;' \ 'http://www.biblegateway.com/passage/?search=Matthew%205:29-30;&version=31;
' Q="'" try -fautolink 'security hole with \" in []()' \ '[XSS](/ "\"=\"\"onmouseover='$Q'alert(String.fromCharCode(88,83,83))'$Q'")' \ '' try -fautolink 'autolink and prefix fragment' \ 'xxxxxxx http://x.com/ xxx xxxxht' \ 'xxxxxxx http://x.com/
xxx xxxxht
' summary $0 exit $rc