Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EBook Links With JSON in Link Title Attribute #979

Open
gkallenberg opened this issue Jul 20, 2018 · 1 comment
Open

EBook Links With JSON in Link Title Attribute #979

gkallenberg opened this issue Jul 20, 2018 · 1 comment

Comments

@gkallenberg
Copy link
Member

Found that in the "Full Description" tab for a title with links to HathiTrust their title attribute contains a JSON object. The same links above in the short description labeled "Electronic Resource" do not.

Ex.: https://www.nypl.org/research/collections/shared-collection-catalog/bib/b14081045#tab2

Wondering if this is a bug or by design?

@siberry
Copy link
Contributor

siberry commented Feb 27, 2020

@EdwinGuzman thoughts?

For reference:
With JSON object:
<a href="http://hdl.handle.net/2027/uiuo.ark:/13960/t6n013296" title="{ "fieldTag": "y", "marcTag": "856", "ind1": "4", "ind2": "0", "content": null, "subfields": [ { "tag": "u", "content": "http://hdl.handle.net/2027/uiuo.ark:/13960/t6n013296" }, { "tag": "z", "content": "[redacted]" } ] }" data-reactid="317"><!-- react-text: 318 --> <!-- /react-text --><!-- react-text: 319 -->Full text available via HathiTrust - v.1<!-- /react-text --><!-- react-text: 320 --> <!-- /react-text --></a>

without:
<a href="http://hdl.handle.net/2027/uiuo.ark:/13960/t6n013296" target="_blank" data-reactid="240">Full text available via HathiTrust - v.1</a>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants