summary refs log tree commit diff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--bin/hi.c2
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("&quot;");