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
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 "<div href="a _long_ and winding road">
hi _there_
</div>")
<div href="a _long_ and winding road"> <p>hi <em>there</em> </p></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.
thanks, -- Gary Warren King, metabang.com Cell: (413) 559 8738 Fax: (206) 338-4052 gwkkwg on Skype * garethsan on AIM
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 "<div href="a _long_ and winding road">
hi _there_
</div>")
<div href="a _long_ and winding road"> <p>hi <em>there</em> </p></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 <script></script> pair is separated by empty lines from the text (is inside a paragraph):
- (markdown "<script></script>")
<p><script></script> </p>
If the script tags pair is inside a paragraph a space is inserted:
- (markdown "some text <script></script>")
<p>some text <script> </script> </p>
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
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 "<div href="a _long_ and winding road">
hi _there_
</div>")
<div href="a _long_ and winding road"> <p>hi <em>there</em> </p></ 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 <script></script> pair is separated by empty lines from the text (is inside a paragraph):
- (markdown "<script></script>")
<p><script></script> </p>
If the script tags pair is inside a paragraph a space is inserted:
- (markdown "some text <script></script>")
<p>some text <script> </script> </p>
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
cl-markdown-devel@common-lisp.net