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 | 6afa8baea32dd02240ce674e77e6922ba0abdbc5 (patch) | |
tree | 5b4c0765534a58d4889be45916fdab475f3e471b /bin | |
parent | Set git commit.verbose (diff) | |
download | src-6afa8baea32dd02240ce674e77e6922ba0abdbc5.tar.gz src-6afa8baea32dd02240ce674e77e6922ba0abdbc5.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 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("""); |