diff options
Diffstat (limited to 'g2x.c')
| -rw-r--r-- | g2x.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -33,11 +33,11 @@ int main(void) while (getbuf() != NULL) { if (!strncmp(buf,"###",3)) { - html("<h3>"); xmlput(4); html("</h3>"); + html("<h3>"); xmlput(4); html("</h3>\n"); } else if (!strncmp(buf,"##",2)) { - html("<h2>"); xmlput(3); html("</h2>"); + html("<h2>"); xmlput(3); html("</h2>\n"); } else if (buf[0] == '#') { - html("<h1>"); xmlput(2); html("</h1>"); + html("<h1>"); xmlput(2); html("</h1>\n"); } else if (buf[0] == '>') { html("<p><blockquote>"); xmlput(2); |