From 6afa8baea32dd02240ce674e77e6922ba0abdbc5 Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Sun, 10 Feb 2019 15:21:56 -0500 Subject: Actually do HTML " escaping --- bin/hi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/hi.c b/bin/hi.c index de71f726..2bb626e7 100644 --- a/bin/hi.c +++ b/bin/hi.c @@ -446,7 +446,7 @@ ircOutput(const char *opts[], enum Class class, const char *str, size_t len) { static void htmlEscape(const char *str, size_t len) { while (len) { - size_t run = strcspn(str, "&<>"); + size_t run = strcspn(str, "\"&<>"); if (run > len) run = len; switch (str[0]) { break; case '"': run = 1; printf("""); -- cgit 1.4.1