diff options
author | Anthony J. Bentley <bentley@cvs.openbsd.org> | 2016-09-11 23:59:03 +0000 |
---|---|---|
committer | Anthony J. Bentley <bentley@cvs.openbsd.org> | 2016-09-11 23:59:03 +0000 |
commit | 2cb9ffcf0bee5728864505ba13416918c5793751 (patch) | |
tree | 302e18034f6ed63d888ce3fe0e795541527f2e3c /usr.bin/mandoc/cgi.c | |
parent | 2bc87670738dfc3ca08c32e002db431ea145e695 (diff) |
Use the proper HTML escape for double quote ("): " not "e;.
ok schwarze@
Diffstat (limited to 'usr.bin/mandoc/cgi.c')
-rw-r--r-- | usr.bin/mandoc/cgi.c | 4 |
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(""e;"); + printf("""); break; case ('&'): printf("&"); |