From 0347fcc3a23c5188e75dc92a372cf2484228ea2a Mon Sep 17 00:00:00 2001 From: Curtis 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(-) (limited to 'bin/hi.c') diff --git a/bin/hi.c b/bin/hi.c index f40cb95e..e8673e44 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