Re: [dwm] [ANNOUNCE] cmarkdown-0.3

From: Szabolcs Nagy <nszabolcs_AT_gmail.com>
Date: Wed, 12 Dec 2007 22:56:37 +0200

On 12/11/07, Enno Gottox Boland <gottox_AT_gmail.com> wrote:
> I wrote an markdown interpreter in C. It should support most of the
> features markdown.pl has (hopefully). Please report any bugs.

i've just checked it out and found suspicious code in cmarkdown.c(252):
    for(p++; *p && p != end && *p <= '0' && *p >= '9';p++);

*p <= '0' && *p >= '9' always fails

also these outputs seems buggy:

* foo
*bar

-->

<ul>
<li>foo</li>
<li>ar</li>
</ul>

*foo
*bar

-->

<p><em>foo
</em>ba</p>

thanks for working on this
a suckless markdown is a very useful tool
Received on Wed Dec 12 2007 - 21:56:39 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:11:34 UTC