aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--g2x.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/g2x.c b/g2x.c
index 33e2d44..8416472 100644
--- a/g2x.c
+++ b/g2x.c
@@ -40,8 +40,8 @@ int main(void)
html("<h1>"); xmlput(2); html("</h1>");
}
else if (buf[0] == '>') {
- fputs("<p><blockquote>",stdout); xmlput(2);
- fputs("</blockquote></p>\n",stdout);
+ html("<p><blockquote>"); xmlput(2);
+ html("</blockquote></p>\n");
}
else if (buf[0] == '*') {
if (list_state == 0) html("<ul>\n");