On 12/11/07, Enno Gottox Boland <[EMAIL PROTECTED]> 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