summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgottox@rootkit.lan <gottox@rootkit.lan>2007-12-12 06:37:49 +0100
committergottox@rootkit.lan <gottox@rootkit.lan>2007-12-12 06:37:49 +0100
commitbafc4edb781a6d4b2e472a125a69483e5b3e9df5 (patch)
tree60b6aa718e24c4b1899b06e0adf984fbe4b8050a
parente483a8a4505db9738f50f35f62cf89f458673e4b (diff)
Small bugfix
-rw-r--r--cmarkdown.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmarkdown.c b/cmarkdown.c
index df7d031..9bc3474 100644
--- 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>");