BUG #15277: ts_headline strips things that look like HTML tags and it cannot be disabled

From: PG Bug reporting form <noreply(at)postgresql(dot)org>
To: pgsql-bugs(at)lists(dot)postgresql(dot)org
Cc: grinnz(at)gmail(dot)com
Subject: BUG #15277: ts_headline strips things that look like HTML tags and it cannot be disabled
Date: 2018-07-12 07:59:40
Message-ID: 153138238063.1407.1856522552479517216@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 15277
Logged by: Dan Book
Email address: grinnz(at)gmail(dot)com
PostgreSQL version: 9.6.9
Operating system: CentOS 7
Description:

This post has a good overview of the issue with a reproduction case:
https://stackoverflow.com/questions/40263956/why-is-postgresql-stripping-html-entities-in-ts-headline

I have text that is not HTML and contains things that look like HTML tags.
The headlines are HTML escaped when output. It is very odd to have this text
missing from the resulting headlines and no way to control the behavior.

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Amit Langote 2018-07-12 08:59:02 Re: BUG #15212: Default values in partition tables don't work as expected and allow NOT NULL violation
Previous Message Tom Lane 2018-07-11 21:15:15 Re: BUG #15273: Lexer bug with UESCAPE