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]
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.
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.
Not working for me now on http://sandbox.archivesspace.org, created a test Resource record and added a Separated Materials note with the following text: “Removed: one AT&T container full of M&Ms.”. PDF printing failed whether or not ampersands were escaped.
thanks! I did the same test at http://test.archivesspace.org but PDF printing still failed (actually none of the records are printing now, maybe it needs a restart?)
EDIT: it’s working now as of 10/30, as described in earlier comments!