smu

Simple markup processor
git clone https://git.sinitax.com/codemadness/smu
Log | Files | Refs | README | LICENSE | Upstream | sfeed.txt

commit bafc4edb781a6d4b2e472a125a69483e5b3e9df5
parent e483a8a4505db9738f50f35f62cf89f458673e4b
Author: gottox@rootkit.lan <gottox@rootkit.lan>
Date:   Wed, 12 Dec 2007 06:37:49 +0100

Small bugfix

Diffstat:
Mcmarkdown.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmarkdown.c b/cmarkdown.c @@ -292,7 +292,7 @@ dolist(const char *begin, const char *end) { ADDC(buffer,i) = '\0'; while(buffer[--i] == '\n') buffer[i] = '\0'; fputs("<li>",stdout); - process(buffer,i+1+buffer); + process(buffer,i+2+buffer); fputs("</li>\n",stdout); } puts(ul ? "</ul>" : "</ol>");