diff options
author | June McEnroe <june@causal.agency> | 2019-02-10 15:21:56 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2019-02-10 15:21:56 -0500 |
commit | 0347fcc3a23c5188e75dc92a372cf2484228ea2a (patch) | |
tree | 066b469a763971f6b0b281079f63f05c2dbed848 /bin | |
parent | Set git commit.verbose (diff) | |
download | src-0347fcc3a23c5188e75dc92a372cf2484228ea2a.tar.gz src-0347fcc3a23c5188e75dc92a372cf2484228ea2a.zip |
Actually do HTML " escaping
Diffstat (limited to 'bin')
-rw-r--r-- | bin/hi.c | 2 |
1 files changed, 1 insertions, 1 deletions
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("""); |