]> git.evergreen-ils.org Git - Evergreen.git/commit
LP#1923225: have search highlighting stored procedure do HTML-escaping
authorGalen Charlton <gmc@equinoxinitiative.org>
Wed, 14 Apr 2021 18:30:39 +0000 (14:30 -0400)
committerGalen Charlton <gmc@equinoxOLI.org>
Tue, 25 May 2021 14:39:15 +0000 (10:39 -0400)
commit724534f76bcbdee62c06e2c1b161d96cfa5488c8
tree265b9b50816943d03b4cf780eb6bce41b0d8f0db
parentbebd7609410c7f49818d92c3a4d09dedc6a91454
LP#1923225: have search highlighting stored procedure do HTML-escaping

This patch builds on the previous work to have the stored procedures
that produced highlighted and unhighlighted versions of display
attributes HTML-escape the source values, then adjusts the TPAC
and Bootstrap templates to avoid double-escaping.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Open-ILS/src/sql/Pg/300.schema.staged_search.sql
Open-ILS/src/sql/Pg/upgrade/XXXX.schema.search_highlight_escape_html.sql [new file with mode: 0644]
Open-ILS/src/templates-bootstrap/opac/parts/record/subjects.tt2
Open-ILS/src/templates-bootstrap/opac/parts/record/summary.tt2