summaryrefslogtreecommitdiffstats
path: root/usr.bin/mandoc/cgi.c
diff options
context:
space:
mode:
authorbentley <bentley@openbsd.org>2016-09-11 23:59:02 +0000
committerbentley <bentley@openbsd.org>2016-09-11 23:59:02 +0000
commitf765a6566a7690a2ab9355c618f53b4cfa6e328a (patch)
tree55020e3c81694d4ee464acf348befa4ef7b688fc /usr.bin/mandoc/cgi.c
parentProperly keep track of which of the two tx FIFOs is in use. Fixes the (diff)
downloadwireguard-openbsd-f765a6566a7690a2ab9355c618f53b4cfa6e328a.tar.xz
wireguard-openbsd-f765a6566a7690a2ab9355c618f53b4cfa6e328a.zip
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;");