Search Postgresql Archives

Re: Storing HTML: HTML entities being rendered in that raw form

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Apr 9, 2009, at 9:27 AM, linnewbie wrote:

Hi all,

I have stored HTML in a text field that I subsequently render on the
web.  However when I retrieve and render this data on the web I  am
getting the entities being rendered in their raw form, ie, instead of
getting the '&' symbol when '&' is stored  I'm getting the 'raw'
'&'.

I would be grateful if anyone can point out how I can get around this.


It's a problem in your code, not the database. You're probably
escaping it one time to many or unescaping it one time too few.

Cheers,
  Steve


--
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux