From be5bdba716daa801b2f7dbdf95e44b1fcc4646e8 Mon Sep 17 00:00:00 2001 From: Inqiyad Sabr Date: Mon, 3 Nov 2025 23:37:18 +0600 Subject: newline on heading close : (\n) --- g2x.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'g2x.c') diff --git a/g2x.c b/g2x.c index 8416472..7fdebb7 100644 --- a/g2x.c +++ b/g2x.c @@ -33,11 +33,11 @@ int main(void) while (getbuf() != NULL) { if (!strncmp(buf,"###",3)) { - html("

"); xmlput(4); html("

"); + html("

"); xmlput(4); html("

\n"); } else if (!strncmp(buf,"##",2)) { - html("

"); xmlput(3); html("

"); + html("

"); xmlput(3); html("

\n"); } else if (buf[0] == '#') { - html("

"); xmlput(2); html("

"); + html("

"); xmlput(2); html("

\n"); } else if (buf[0] == '>') { html("

"); xmlput(2); -- cgit v1.2.3