<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div class=""><br class="">
</div>
<div class="">One possible fix to get rid of the markup in public interface record titles:</div>
<div class=""><br class="">
</div>
<div class="">copy public/app/views/records/_title_pane.html.erb into plugins/local/public/views/records/ </div>
<div class=""><br class="">
</div>
<div class="">change this first line in the template to the last line below:</div>
<div class=""><br class="">
</div>
<div class="">
<div style="margin: 0px; font-size: 15px; line-height: normal; background-color: rgb(255, 238, 219);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">< <h2><%= record_title %></span></div>
<div style="margin: 0px; font-size: 15px; line-height: normal; background-color: rgb(255, 238, 219);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">---</span></div>
<div style="margin: 0px; font-size: 15px; line-height: normal; background-color: rgb(255, 238, 219);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">> <h2><%= record_title.gsub( /<[^>]+>/ , '' ) %></span></div>
</div>
<div class=""><br class="">
</div>
<div class="">This removes markup tags entirely. </div>
<div class="">A better solution might be to transform EAD markup into HTML markup in the view. </div>
<div class=""><br class="">
</div>
<div class="">A lot of models have a display_string as well as a title, so it might also be a better solution might be to fix these titles in the display_strings upstream in the controller rather than the view, but that probably requires changing it in several
places and I’m not sure if there are other issues with making that sort of change. </div>
<div class=""><br class="">
</div>
<div class="">I may be looking at this issue further in the near future: we have EAD that imports records with mixed content — specifically <title> tags around manuscript titles in the JSONmodel titles, which I will want to preserve on EAD export, but scrub
in the display. ( So I may push a patch after I have figured out and tested the best way to handle this. )</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">— Steve Majewski / UVA Alderman Library </div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<br class="">
<div>
<blockquote type="cite" class="">
<div class="">On Oct 24, 2016, at 11:47 AM, Jane LaBarbara <<a href="mailto:jane.labarbara@mail.wvu.edu" class="">jane.labarbara@mail.wvu.edu</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div class="WordSection1" style="page: WordSection1; font-family: Menlo-Regular; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">
<div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
Dear all,<o:p class=""></o:p></div>
<div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<o:p class=""> </o:p></div>
<div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
My institution is migrating into ASpace and using the Public User Interface, and we’re hoping to completely transition out of our old system/user interface by the end of 2016. <o:p class=""></o:p></div>
<div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<o:p class=""> </o:p></div>
<div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
Because of the issue with <emph> tags/@render attributes showing up as text instead of displaying as italics etc. (AR-1234—we’ve noticed this in the “title” field, example here:<a href="https://archives.lib.wvu.edu/repositories/2/archival_objects/328" style="color: rgb(149, 79, 114); text-decoration: underline;" class="">https://archives.lib.wvu.edu/repositories/2/archival_objects/328</a>)
, we’re trying to find a workaround for one of our most prominent collections, the Pearl Buck Literary Manuscripts, which has a LOT of folder titles that include italics (you can see the S/C note and contents list here<span class="Apple-converted-space"> </span><a href="https://findingaids.lib.wvu.edu/cgi/f/findaid/findaid-idx?c=wvcguide;cc=wvcguide;type=simple;rgn=Entire%20Finding%20Aid;q1=4052;view=reslist;subview=standard;sort=occur;start=1;size=25;didno=4052;focusrgn=scopecontent;byte=24750517&newsid=1" style="color: rgb(149, 79, 114); text-decoration: underline;" class="">https://findingaids.lib.wvu.edu/cgi/f/findaid/findaid-idx?c=wvcguide;cc=wvcguide;type=simple;rgn=Entire%20Finding%20Aid;q1=4052;view=reslist;subview=standard;sort=occur;start=1;size=25;didno=4052;focusrgn=scopecontent;byte=24750517&newsid=1</a>). <o:p class=""></o:p></div>
<div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<o:p class=""> </o:p></div>
<div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
I thought we could try to put the contents list of each series in the series Scope and Content Note until the bug is fixed (so our italics won’t look ugly to the public), but when I tried that, saved the record, and tried to navigate around in that resource
record, I got something about “an error occurred” and “FULL head” – we were able to fix that with help from a previous listserv exchange--see<span class="Apple-converted-space"> </span><a href="http://lyralists.lyrasis.org/mailman/htdig/archivesspace_users_group/2016-March/003316.html--" style="color: rgb(149, 79, 114); text-decoration: underline;" class="">http://lyralists.lyrasis.org/mailman/htdig/archivesspace_users_group/2016-March/003316.html--</a><span class="Apple-converted-space"> </span>but
our Systems person doesn’t want to leave the fix in place, which means I can’t put that much text in the Scope and Content Note. I had this issue in version 1.4.2, but we’re in the middle of moving to 1.5.1.<o:p class=""></o:p></div>
<div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<o:p class=""> </o:p></div>
<div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<b class=""><u class="">TL;DR</u><span class="Apple-converted-space"> </span></b>Does anyone know how many characters can fit into a sub note without breaking it?<o:p class=""></o:p></div>
<div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<o:p class=""> </o:p></div>
<div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
Any other ideas on how to present this massive contents list to the public until the italics-related bug is fixed would also be welcome.<o:p class=""></o:p></div>
<div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<o:p class=""> </o:p></div>
<div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
Thank you,<o:p class=""></o:p></div>
<div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
Jane<o:p class=""></o:p></div>
<div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<o:p class=""> </o:p></div>
<div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<b class=""><span style="font-size: 10pt; font-family: Helvetica, sans-serif; color: rgb(234, 170, 0); border: 1pt none windowtext; padding: 0in; background-color: white; background-position: initial initial; background-repeat: initial initial;" class="">/</span></b><b class=""><span style="font-size: 10pt; font-family: Helvetica, sans-serif; color: rgb(0, 40, 85); background-color: white; background-position: initial initial; background-repeat: initial initial;" class=""> Jane
Metters LaBarbara <br class="">
</span></b><span style="font-size: 10pt; font-family: Helvetica, sans-serif; color: rgb(0, 40, 85); background-color: white; background-position: initial initial; background-repeat: initial initial;" class="">Assistant Curator,<span class="Apple-converted-space"> </span><a href="https://wvrhc.lib.wvu.edu/" style="color: rgb(149, 79, 114); text-decoration: underline;" class=""><span style="color: rgb(5, 99, 193);" class="">West
Virginia & Regional History Center</span></a><br class="">
West Virginia University Libraries<br class="">
(304) 293-0352 office<br class="">
<a href="mailto:jane.labarbara@mail.wvu.edu" style="color: rgb(149, 79, 114); text-decoration: underline;" class=""><span style="color: rgb(5, 99, 193);" class="">jane.labarbara@mail.wvu.edu</span></a><o:p class=""></o:p></span></div>
<div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<o:p class=""> </o:p></div>
</div>
<span style="font-family: Menlo-Regular; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">_______________________________________________</span><br style="font-family: Menlo-Regular; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Menlo-Regular; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">Archivesspace_Users_Group
mailing list</span><br style="font-family: Menlo-Regular; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org" style="color: rgb(149, 79, 114); text-decoration: underline; font-family: Menlo-Regular; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">Archivesspace_Users_Group@lyralists.lyrasis.org</a><br style="font-family: Menlo-Regular; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<a href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group" style="color: rgb(149, 79, 114); text-decoration: underline; font-family: Menlo-Regular; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group</a></div>
</blockquote>
</div>
<br class="">
</body>
</html>