1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-17 06:41:09 +03:00

' is not valid HTML 4.01, so print the plain character instead.

This commit is contained in:
Peter Eisentraut
2006-02-18 22:54:50 +00:00
parent ce9b75db6b
commit 3228a92ccd

View File

@ -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)