extras.tt2 Summaries & More header uses &

Bug #1379797 reported by Josh Stompro
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Evergreen
New
Undecided
Unassigned

Bug Description

Hello, on my 2.6.3 test system I just noticed that on the full record screen the section header for "Summaries & More" was displaying as "Summaries & More" in Firefox and Chrome.

That is set in " Evergreen / Open-ILS / src / templates / opac / parts / record / extras.tt2 " file.

 extras = [
            {name => 'summaryplus', label => l('Summaries & More'), hide => hide_summary},
            {name => 'annotation', label => l('Annotation'), hide => 1},
            {name => 'awards', label => l('Awards, Reviews, & Suggested Reads')},

I found it interesting that the 'Awards, Reviews, & Suggested Reads' didn't try to encode the & also. so I think that must just be a typo. It looks fine if you replace the & with &.

 extras = [
            {name => 'summaryplus', label => l('Summaries & More'), hide => hide_summary},
            {name => 'annotation', label => l('Annotation'), hide => 1},
            {name => 'awards', label => l('Awards, Reviews, & Suggested Reads')},

I checked a few other catalogs and it seems like this gets caught and fixed on the local level. I did find one that shows the issue for me in the wild.

http://espl.evergreenva.org/eg/opac/record/515318?query=Gaiman%2C%20Neil;qtype=author;locg=117

The problem seems to be in 2.2 and greater.

Tags: bitesize opac
Revision history for this message
Josh Stompro (u-launchpad-stompro-org) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.