smu

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

commit 7df5fd714d8079256b34156ed59071333d84e772
parent 604eff6c9ee1089021eb61384e4f9870fe4544fc
Author: gottox@rootkit.lan <gottox@rootkit.lan>
Date:   Fri, 14 Dec 2007 08:33:27 +0100

version 0.6

Diffstat:
Mcmarkdown.c | 4++--
Mconfig.mk | 2+-
2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/cmarkdown.c b/cmarkdown.c @@ -258,11 +258,11 @@ dolist(const char *begin, const char *end, int first) { const char *p, *q; char *buffer; - if(*begin != '\n' && !first) + if(*begin != '\n' || begin[1] != '\n' && !first) return 0; p = begin; if(!first) - p++; + p += 2; q = p; if((*p == '-' || *p == '*' || *p == '+') && (p[1] == ' ' || p[1] == '\t')) { ul = 1; diff --git a/config.mk b/config.mk @@ -1,5 +1,5 @@ # cmarkdown version -VERSION = 0.5.2 +VERSION = 0.6 # paths PREFIX = /usr/local