pre2html

Unnamed repository; edit this file to name it for gitweb.
git clone https://logand.com/git/pre2html.git/
Log | Files | Refs

commit 5b5cd8decfcae04ceefaa891140a2d47f8c1dfec
parent 2f42979a84bc89faf94118a4d34094a5b5b73484
Author: Tomas Hlavaty <tom@logand.com>
Date:   Tue,  6 Sep 2011 09:22:09 +0200

fix c {}

Diffstat:
Mtext2html.c | 4+---
1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/text2html.c b/text2html.c @@ -88,10 +88,8 @@ int main() { char *e = buf + n; if(head("CODE", b, e)) printf("<div style=\"color:#080\">"); - } - else if(head("END", b, e)) { + else if(head("END", b, e)) printf("</div>"); - } else if(head("\f\n", b, e)) { if(bold) printf("</div>"); puts("<div style=\"font-weight:bold\">");