aboutsummaryrefslogtreecommitdiff
path: root/g2x.c
diff options
context:
space:
mode:
authorInqiyad Sabr <sabr@ariamath.xyz>2025-11-03 13:37:47 +0600
committerInqiyad Sabr <sabr@ariamath.xyz>2025-11-03 13:37:47 +0600
commit4b4a4a8a9a17d77ee4737be93dae3b349a131201 (patch)
tree3deeae6a45a670223c5d085b67644ce633b6e08c /g2x.c
parentcd2c868e83320e1edc239fa6028974461ae009c2 (diff)
Replaced the forgotten fputs() (lol) with html()
Diffstat (limited to 'g2x.c')
-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");