Hi Raphael,
Dang, you're right. That's certainly a bug but at least it's got a great test case to go with it. Thanks for doing the investigative work.
I'll take a look shortly. -- metabang opensource software cases@metabang.fogbugz.com --------------------------------------------------------------------------- http://www.metabang.com/ using http://www.fogcreek.com/FogBugz
-----Original Message----- From: Raphael Martelles martelr@martelles.com Reply-To: Raphael Martelles martelr@martelles.com Date: Tue, 14 Oct 2008 16:07:57 -0700 To: Gary King gwking@metabang.com Cc: cl-markdown-devel@common-lisp.net, cases@metabang.fogbugz.com Subject: Re: cl-markdown and asdf-system-connections
Hi!
Here's another interesting one:
(markdown "
<p> <img src='/images/lisplogo_flag_64.png' /></p>
" :stream nil :format :html)
results in:
<p> <img src='/images/lisplogo<em>flag</em>64.png' /></p>
On the other hand:
(markdown "
<p> <img src='/images/lisplogo-flag_64.png' /></p>
" :stream nil :format :html)
results in the correct output of:
<p> <img src='/images/lisplogo-flag_64.png' /></p>
Looks like cl-markdown is interpreting surrounding underscores as emphasis within the inline HTML block, even though the markdown docs say it shouldn't.
That took me a while to find. :)
Raph
cl-markdown-devel@common-lisp.net