From anyakinvictor at yahoo.com Wed Dec 3 13:53:12 2008 From: anyakinvictor at yahoo.com (Anyakin Victor) Date: Wed, 3 Dec 2008 05:53:12 -0800 (PST) Subject: [cl-markdown-devel] Treating underscores in script source Message-ID: <183650.1030.qm@web53304.mail.re2.yahoo.com> Hello, I have noticed that underscores ?_? in the script tag src attribute are treated as markdown markup and are converted to em tags in the output. This issue makes it impossible to reference scripts having underscore in their location URL. Hope this is fixable. Thanks, -- Victor Anyakin http://vityok.org.ua http://znaete.org.ua From gwking at metabang.com Thu Dec 4 16:18:09 2008 From: gwking at metabang.com (Gary King) Date: Thu, 4 Dec 2008 11:18:09 -0500 Subject: [cl-markdown-devel] Treating underscores in script source In-Reply-To: <183650.1030.qm@web53304.mail.re2.yahoo.com> References: <183650.1030.qm@web53304.mail.re2.yahoo.com> Message-ID: <899CC274-EFCA-47D2-BA9B-6FF4F955A576@metabang.com> Hi Anyakin, Thanks for the report. I thought that I had fixed this bug recently. Here is a silly example of CL-Markdown doing the "right" thing: > markdown> (markdown > "
hi there
hi there
If the script tags pair is inside a paragraph a space is inserted: > * (markdown "some text ") >
some text
Making the external script tag invalid as the browser wants to have the script body empty. With best regards, Victor > > thanks, > -- > Gary Warren King, metabang.com > Cell: (413) 559 8738 > Fax: (206) 338-4052 > gwkkwg on Skype * garethsan on AIM > -- ??????? ----------------------------------------------------------- ????? ?????????! ? ???????-?????? ?? http://www.hostpro.ua From gwking at metabang.com Sat Dec 6 16:30:39 2008 From: gwking at metabang.com (Gary King) Date: Sat, 6 Dec 2008 11:30:39 -0500 Subject: [cl-markdown-devel] Treating underscores in script source In-Reply-To:hi there
>>> div> >> >> Can you verify that you have version 0.10.4 >> >>> markdown> (asdf:component-version (asdf:find-system 'cl-markdown)) >>> "0.10.4" >> >> and, if that isn't the problem, please send me an example showing the >> fault so that I can fix it. > > Hello Gary, > > I have pulled the version from the darcs repository (reports itself > as 0.10.4) > and it seems to be working if the pair is > separated by > empty lines from the text (is inside a paragraph): > >> * (markdown "") >>> > If the script tags pair is inside a paragraph a space is inserted: > >> * (markdown "some text ") >>
some text
> > Making the external script tag invalid as the browser wants to have > the script > body empty. > > With best regards, > > Victor > >> >> thanks, >> -- >> Gary Warren King, metabang.com >> Cell: (413) 559 8738 >> Fax: (206) 338-4052 >> gwkkwg on Skype * garethsan on AIM >> > > -- ??????? > ----------------------------------------------------------- > ????? ?????????! > ? ???????-?????? ?? http://www.hostpro.ua > -- Gary Warren King, metabang.com Cell: (413) 559 8738 Fax: (206) 338-4052 gwkkwg on Skype * garethsan on AIM From gwking at metabang.com Fri Dec 12 19:44:48 2008 From: gwking at metabang.com (Gary King) Date: Fri, 12 Dec 2008 14:44:48 -0500 Subject: [cl-markdown-devel] cl-markdown and asdf-system-connections In-Reply-To:>
> > " :stream nil :format :html) > > results in: > ><img src='/images/lisplogoflag64.png' />
> > > On the other hand: > > (markdown " > >>
> > " :stream nil :format :html) > > results in the correct output of: > >> > 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 > > > > On Oct 14, 2008, at 11:15 AM, Gary King wrote: > >> (cc'd to list) >> >> Hi Raphael, >> >> This is great feedback; thanks. >> >> I'll add these issues to my issue tracker (Fogbugz) and try to >> attend to them both soon). >> >> >> On Oct 14, 2008, at 12:58 PM, Raphael Martelles wrote: >> >>> Hi, Gary. >>> >>> Just a quick note to say that I think asdf-system-connections >>> needs to be added as a dependency to cl-markdown. I carefully (by >>> hand) installed the various dependencies to get cl-markdown to >>> work, and when I tried (markdown "some string") I got the slime >>> debugger saying "Class named NIL not found." >>> >>> After some investigation, I then restarted lisp, loaded asdf- >>> system-connections, reloaded the rest of the packages and tried >>> (markdown "some string") again and had it work. >>> >>> The stack is here: >>> >>> ((0 "(\"CCL::%READ-FORM\"\" \\\"#