stacinhtml

Static C in HTML - simple static site generator
git clone git://git.kocotian.pl/stacinhtml.git
Log | Files | Refs | README | LICENSE

commit 4fe2a6c2298a5bf64987284197e9795591b42096
parent ec73e4ab0f1995bd25b13f96a727b03ad8e07c97
Author: kocotian <kocotian@kocotian.pl>
Date:   Tue,  6 Apr 2021 15:39:42 +0200

Newline character before preprocessed thingy

Diffstat:
Mcompile.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/compile.c b/compile.c @@ -166,6 +166,7 @@ preprocess(int outputfd, int inputfd, String *output) MIN(BUFFER_SIZE - ((*output).len)++, 4)); (*output).len += 3; } else { + write(outputfd, "\n", 1); write(outputfd, parseinput.data, parseinput.len - 2); } --parseinput.data;