Closed sarahjeansweeney closed 7 years ago
It'll most likely have to do with HTML safety. Rails by default tries to prevent malicious code injection. I'll look to see what I can do.
It's looking like Mods Display itself is causing the issue. Looking into it more.
Well, it goes deeper. It appears to be an https://github.com/projecthydra/om effect
2.0.0 :013 > x.mods.abstract[0]
=> "This thesis analyzes three case studies of LGBTAQ identifying writing center tutors. The methodology focuses on using a \"queer\" XML encoding language for analysis, called XM<LGBT/>."
2.0.0 :014 > x.mods.title[0]
=> "XM<LGBT/>"
Which may mean it's very hard to cure
Annnd no it's not
Title was using XM&lt;LGBT/&gt;
abstract was using XM<LGBT/>
Kevin is cataloging Abbie's master's thesis: https://repository.library.northeastern.edu/files/neu:cj82pr45x
Her theses title and abstract includes text that mimics XML, which is encoded in the mods:title and mods:abstract fields as
They both display differently. mods:title displays as expected, but mods:abstract strips out the angle brackets and everything in between, presumably because it's being treated as if it's an actual XML element?
The preferred behavior is that of mods:title. Is there a reason why these fields treat the referenced angle brackets differently?