summaryrefslogtreecommitdiff
path: root/usr.bin/mandoc/cgi.c
diff options
context:
space:
mode:
authorAnthony J. Bentley <bentley@cvs.openbsd.org>2016-09-11 23:59:03 +0000
committerAnthony J. Bentley <bentley@cvs.openbsd.org>2016-09-11 23:59:03 +0000
commit2cb9ffcf0bee5728864505ba13416918c5793751 (patch)
tree302e18034f6ed63d888ce3fe0e795541527f2e3c /usr.bin/mandoc/cgi.c
parent2bc87670738dfc3ca08c32e002db431ea145e695 (diff)
Use the proper HTML escape for double quote ("): &quot; not &quote;.
ok schwarze@
Diffstat (limited to 'usr.bin/mandoc/cgi.c')
-rw-r--r--usr.bin/mandoc/cgi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/mandoc/cgi.c b/usr.bin/mandoc/cgi.c
index 9e664472d87..e168f42e577 100644
--- a/usr.bin/mandoc/cgi.c
+++ b/usr.bin/mandoc/cgi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cgi.c,v 1.79 2016/09/03 21:24:35 schwarze Exp $ */
+/* $OpenBSD: cgi.c,v 1.80 2016/09/11 23:59:02 bentley Exp $ */
/*
* Copyright (c) 2011, 2012 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2014, 2015, 2016 Ingo Schwarze <schwarze@usta.de>
@@ -136,7 +136,7 @@ html_putchar(char c)
switch (c) {
case ('"'):
- printf("&quote;");
+ printf("&quot;");
break;
case ('&'):
printf("&amp;");