smu

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

commit cf7d7b62f29ffcc61fd4105b35e781933e1d46ac
parent 5fff5fdbe80372d2f79ce2b0d6324f5a1e39aeeb
Author: Enno Boland (Gottox) <gottox@s01.de>
Date:   Tue,  1 Jul 2008 22:10:40 +0200

don't remove comments when -n is set.

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

diff --git a/smu.c b/smu.c @@ -142,7 +142,7 @@ int docomment(const char *begin, const char *end, int newblock) { char *p; - if(strncmp("<!--", begin, 4)) + if(nohtml || strncmp("<!--", begin, 4)) return 0; p = strstr(begin, "-->"); if(!p || p + 3 >= end)