PUI Print to PDF Fails if & is Immediately Followed by a Capital Letter

Description

If a resource record contains an & entity immediately followed by a capital letter, like "M&M" PDF printing from the PUI fails. It works just fine on the staff side. It looks like the "line.match(/&[a-z]

/)" here should be "line.match(/&[A-Za-z]

/)".

Environment

None

Activity

Show:
Brian Harrington
September 3, 2020, 8:18 PM

Well, that didn’t work so well, but the proposed fix is wrong. I wasn’t thinking.

Cory Nimer
7 days ago
Edited

This seems to be exporting correctly now in the ArchivesSpace test environment, whether the capitalized character is directly after the ampersand or if the ampersand is escaped.

ebeckman
3 days ago

This appears to work now to me as well - I tried it in the test environment on the Alice Key M&M Papers in the PUI and I was able to export a PDF.

Assignee

Blake Carver

Reporter

Brian Harrington

Affects versions

Priority

Minor
Configure