When the url for a publication includes a sub-directory, the formatting of the Chicago and MLA citations is broken. The closing </em> tag that should follow the publication title, is instead added to the end of the full citation, making the title and everything after it italic.
Here's the the HTML output with url: 'https://www.getty.edu/publications/conserving-canvas/' set:
<div class="cite-this">
<span class="cite-this__heading"> Chicago </span>
<span class="cite-this__text">
Hackney, Stephen. “1. Understanding Structure, Changing
Practice.” In
<em>Conserving Canvas, by Cynthia Schwarz, Ian McClure, and Jim
Coddington. Los Angeles: Getty Conservation Institute, 2023.
https://www.getty.edu/publications/conserving-canvas/i-history/1/.
</em></span>
</div>
<div class="cite-this">
<span class="cite-this__heading"> MLA </span>
<span class="cite-this__text">
Hackney, Stephen. “1. Understanding Structure, Changing
Practice.”
<em>Conserving Canvas, by Cynthia Schwarz et al., Getty
Conservation Institute, 2023,
https://www.getty.edu/publications/conserving-canvas/i-history/1/.
Accessed <span class="cite-current-date">DD Mon. YYYY</span>.
</em></span>
</div>
When the url does not include a sub-directory, the placement of the closing </em> tag is correct:
<div class="cite-this">
<span class="cite-this__heading"> Chicago </span>
<span class="cite-this__text">
Hackney, Stephen. “1. Understanding Structure, Changing
Practice.” In <em>Conserving Canvas</em>, by Cynthia Schwarz,
Ian McClure, and Jim Coddington. Los Angeles: Getty Conservation
Institute, 2023. https://www.getty.edu/i-history/1/.
</span>
</div>
<div class="cite-this">
<span class="cite-this__heading"> MLA </span>
<span class="cite-this__text">
Hackney, Stephen. “1. Understanding Structure, Changing
Practice.” <em>Conserving Canvas</em>, by Cynthia Schwarz et
al., Getty Conservation Institute, 2023,
https://www.getty.edu/i-history/1/. Accessed
<span class="cite-current-date">DD Mon. YYYY</span>.
</span>
</div>
When the
url
for a publication includes a sub-directory, the formatting of the Chicago and MLA citations is broken. The closing</em>
tag that should follow the publication title, is instead added to the end of the full citation, making the title and everything after it italic.Here's the the HTML output with
url: 'https://www.getty.edu/publications/conserving-canvas/'
set:When the
url
does not include a sub-directory, the placement of the closing</em>
tag is correct: