PUI PDF Struggles with Mixed Content

Description

If mixed content appears in a Resource or Archival Object Title, it will not properly render in the PUI PDF. In addition, `<title>` tags appear to be thrown out when rendering notes, instead of properly italicizing the text.

Examples:
The string `This is the &lt; test & for the <title>Sanford &amp; Son</title>` is expected to render "Sanford & Son" in italics.

In Resource Titles, it renders as `This is the &lt; test &amp; for the <span class="title">Sanford &amp; Son</span>`
In AO Titles, it renders as `This is the &lt; test &amp; for the <span class="title">Sanford &amp; Son</span>`
In Resource and AO notes, it renders as `This is the &lt; test & for the Sanford & Son`, with no italics.

If a Finding Aid Title is supplied for the Resource, that string replaces the Title and renders properly!

Environment

None

Activity

Show:
Alexander Duryee
February 1, 2019, 4:08 PM

The XML strings didn't come out quite right; the examples should appear as follows:

Resource Title: This is the &lt; test &amp; for the <span class="title">Sanford &amp; Son</span>
AO Title: This is the &lt; test &amp; for the <span class="title">Sanford &amp; Son</span>
Resource/AO notes: This is the &lt; test & for the Sanford & Son, with no title formatting

Assignee

Unassigned

Reporter

Alexander Duryee

Priority

Minor