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

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. thanks, -- Gary Warren King, metabang.com Cell: (413) 559 8738 Fax: (206) 338-4052 gwkkwg on Skype * garethsan on AIM From bobbie at ua.fm Fri Dec 5 09:28:01 2008 From: bobbie at ua.fm (Victor) Date: Fri, 05 Dec 2008 11:28:01 +0200 Subject: [cl-markdown-devel] =?utf-8?q?Treating_underscores_in_script_sour?= =?utf-8?q?ce?= In-Reply-To: <899CC274-EFCA-47D2-BA9B-6FF4F955A576@metabang.com> References: <183650.1030.qm@web53304.mail.re2.yahoo.com> <899CC274-EFCA-47D2-BA9B-6FF4F955A576@metabang.com> Message-ID: > 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

> > 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 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: References: <183650.1030.qm@web53304.mail.re2.yahoo.com> <899CC274-EFCA-47D2-BA9B-6FF4F955A576@metabang.com> Message-ID: <83426CD1-2F3F-4142-B994-C1F7527F4B15@metabang.com> Hi Victor, Thanks for the update. I'll log this bug and work on a fix (maybe I'll even get to it this weekend). On Dec 5, 2008, at 4:28 AM, Victor wrote: >> 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

>> 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: References: <18F62DDA-81C7-4516-9187-A732F98DD468@martelles.com> Message-ID: Hi Raphael, I'm not sure if I ever communicated that this has been fixed. My apologies for dropping the ball! On Oct 14, 2008, at 7:07 PM, Raphael Martelles wrote: > Hi! > > Here's another interesting one: > > (markdown " > >

>

> > " :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\"\" \\\"#>> #x300040FDF2AD>\\\" \\\"0\\\" \\\"'NIL\\\"\")" >>> (:restartable :unknown)) >>> (1 "(\"READ\"\" \\\"# >>> \\\" \\\"'T\\\" \\\"'NIL\\\" \\\"'NIL\\\"\")" >>> (:restartable :unknown)) >>> (2 "(\"READ-FROM-STRING\"\" \\\"\\\\\"\\\\\"\\\" \\\"'T\\ >>> \" \\\"'NIL\\\" \\\"':START\\\" \\\"0\\\" \\\"':END\\\" \\\"'NIL\\ >>> \" \\\"':PRESERVE-WH.." >>> (:restartable :unknown)) >>> (3 "(\"(:INTERNAL SWANK::FROM-STRING)\"\"\")" >>> (:restartable :unknown)) >>> (4 "(\"SWANK::CALL-WITH-BUFFER-SYNTAX\"\" \\\"'NIL\\\" \\ >>> \"#>> (:restartable :unknown)) >>> (5 "(\"(:INTERNAL SWANK:INTERACTIVE-EVAL)\"\"\")" >>> (:restartable :unknown)) >>> (6 "(\"SWANK::CALL-WITH-RETRY-RESTART\"\" \\\"\\\\\"Retry >>> SLIME interactive evaluation request.\\\\\"\\\" \\\"#>> (:restartable :unknown)) >>> (7 "(\"SWANK::CALL-WITH-BUFFER-SYNTAX\"\" \\\"'NIL\\\" \\ >>> \"#>> (:restartable :unknown)) >>> (8 "(\"CCL::CALL-CHECK-REGS\"\" \\\"'SWANK:INTERACTIVE- >>> EVAL\\\" \\\"\\\\\"\\\\\"\\\"\")" >>> (:restartable :unknown)) >>> (9 "(\"SWANK::EVAL-FOR-EMACS\"\" \\\"'(SWANK:INTERACTIVE- >>> EVAL \\\\\"\\\\\")\\\" \\\"'NIL\\\" \\\"2\\\"\")" >>> >>> >>> I am using Clozure Common Lisp (formerly openmcl) 1.2 on an Intel >>> mac. >>> >>> I also noticed that in cl-containers, I kept getting a warning >>> that read-container-element was not found. I changed the four # >>> +MCL conditions to #+(or :MCL :openmcl) and that worked very well. >>> I did not see anywhere else in any of the packages that this >>> needed to be done. (This did not fix the above issue, but I am not >>> sure if it might not be important in other ways.) >>> >>> Anyway, I hope this feedback is useful to you! Thank you for all >>> your work on these utilities! >>> >>> Raph >>> >> >> -- >> Gary Warren King, metabang.com >> Cell: (413) 559 8738 >> Fax: (206) 338-4052 >> gwkkwg on Skype * garethsan on AIM >> >> >> >> > -- Gary Warren King, metabang.com Cell: (413) 559 8738 Fax: (206) 338-4052 gwkkwg on Skype * garethsan on AIM -------------- next part -------------- An HTML attachment was scrubbed... URL: