[cl-markdown-devel] (Case 248) cl-markdown confused by underscores in embedded HTML.

metabang opensource software cases at metabang.fogbugz.com
Wed Oct 15 02:12:08 UTC 2008


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 at metabang.fogbugz.com
---------------------------------------------------------------------------
http://www.metabang.com/ using  http://www.fogcreek.com/FogBugz


-----Original Message-----
From: Raphael Martelles <martelr at martelles.com>
Reply-To: Raphael Martelles <martelr at martelles.com>
Date: Tue, 14 Oct 2008 16:07:57 -0700
To: Gary King <gwking at metabang.com>
Cc: cl-markdown-devel at common-lisp.net, cases at 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





More information about the Cl-markdown-devel mailing list