The following bug has been logged on the website:
Bug reference: 8662
Logged by: JW
Email address: cbfgterfdy(at)zacglen(dot)net
PostgreSQL version: 9.2.4
Operating system: Linux
Description:
While "psql -H" is quite useful there is flaw when a query includes
ts_headline(). The highlighting html gets escaped along with any other html
special characters.
One can pipe the psql output through sed and undo the special character
conversion. But it would perhaps be nicer if there was some way of allowing
embedded html in results if so wanted.
The html output doesn't have any escaping mechanism what-so-ever.