summaryrefslogtreecommitdiffstats
path: root/cgi.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2016-09-12 00:06:20 +0000
committerIngo Schwarze <schwarze@openbsd.org>2016-09-12 00:06:20 +0000
commitd771a07e151d9aca9694caa0b9d30c2bbadb3932 (patch)
tree9a41c4125b9b09e3a7867de19d08fa7d11d5b37f /cgi.c
parent67a3aea478b17f31049f29d33c410ed66c5f7bf5 (diff)
downloadmandoc-d771a07e151d9aca9694caa0b9d30c2bbadb3932.tar.gz
use the proper HTML escape for double quote ("): &quot; not &quote;
patch from bentley@
Diffstat (limited to 'cgi.c')
-rw-r--r--cgi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cgi.c b/cgi.c
index 7a349cc4..214f7152 100644
--- a/cgi.c
+++ b/cgi.c
@@ -138,7 +138,7 @@ html_putchar(char c)
switch (c) {
case ('"'):
- printf("&quote;");
+ printf("&quot;");
break;
case ('&'):
printf("&amp;");