-
Notifications
You must be signed in to change notification settings - Fork 1
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
Superdataset citation contains html tags #92
Comments
I think this is a behavior we inherit from DataLad-Catalog and, in a way, DataCite and its CSL processor. AFAIK, the "cite" button is shown if dataset metadata includes a DOI. When clicked, the JS code fetches a response from I'm pretty sure the title in Zenodo does not contain any formatting markers (also, Zenodo displays its own citation without markup), so my guess is the
As a side note - I was more worried about the thing being reported (in your screenshot) as Given that the citation is shown as verbatim text, I think we could patch the JS code for this catalog instance to strip html formatting from the response (ideas in this SO post). Is that what you suggest? |
@mslw your analysis and suggestions make sense to me. Makes sense to fix in datalad-catalog core too. |
This issue can be closed once the latest changes from upstream is merged here, since it was addressed in datalad/datalad-catalog#440 |
Changes introduced in catalog upstream were introduced by running `datalad catalog-create -c docs --force` and using Git to stage or discard specific changes. The only file which needed staging in chunks was index.html, and one property had to be added to the config file by hand (catalog_url). This uses: datalad/datalad-catalog/commit/821b12f51302b9a830dee00ac5f4f247aed0532e Closes #93, fixes #92, fixes #88
Clicking the "Cite" button in https://data.sfb1451.de/dataset/e132ac40-30c5-457d-8c7c-0dcbdbb95d9a/907e4d5ed5ddc033a5ba167bff83abbfcff2b60d shows
<i>
HTML tags:The text was updated successfully, but these errors were encountered: