mirror of
https://github.com/postgres/postgres.git
synced 2025-07-18 17:42:25 +03:00
' is not valid HTML 4.01, so print the plain character instead.
This commit is contained in:
@ -3,7 +3,7 @@
|
|||||||
*
|
*
|
||||||
* Copyright (c) 2000-2005, PostgreSQL Global Development Group
|
* Copyright (c) 2000-2005, PostgreSQL Global Development Group
|
||||||
*
|
*
|
||||||
* $PostgreSQL: pgsql/src/bin/psql/print.c,v 1.83 2006/02/12 02:56:21 tgl Exp $
|
* $PostgreSQL: pgsql/src/bin/psql/print.c,v 1.84 2006/02/18 22:54:50 petere Exp $
|
||||||
*/
|
*/
|
||||||
#include "postgres_fe.h"
|
#include "postgres_fe.h"
|
||||||
#include "common.h"
|
#include "common.h"
|
||||||
@ -918,9 +918,6 @@ html_escaped_print(const char *in, FILE *fout)
|
|||||||
case '"':
|
case '"':
|
||||||
fputs(""", fout);
|
fputs(""", fout);
|
||||||
break;
|
break;
|
||||||
case '\'':
|
|
||||||
fputs("'", fout);
|
|
||||||
break;
|
|
||||||
case ' ':
|
case ' ':
|
||||||
/* protect leading space, for EXPLAIN output */
|
/* protect leading space, for EXPLAIN output */
|
||||||
if (leading_space)
|
if (leading_space)
|
||||||
|
Reference in New Issue
Block a user