commit bafc4edb781a6d4b2e472a125a69483e5b3e9df5
parent e483a8a4505db9738f50f35f62cf89f458673e4b
Author: gottox@rootkit.lan <gottox@rootkit.lan>
Date: Wed, 12 Dec 2007 06:37:49 +0100
Small bugfix
Diffstat:
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>");