GitLab will be upgraded on June 23th evening. During the upgrade the service will be unavailable, sorry for the inconvenience.

Commit d587728b authored by Maxime Chaillet's avatar Maxime Chaillet

Fix append() method. This is a test.

parent 93dd37e8
Pipeline #10315 failed with stages
This diff is collapsed.
......@@ -180,9 +180,11 @@ DOIView.prototype.setDataAccessMessage = function (doiData) {
* @param {string} data doi metadata in Json+LD format as provided by datacite.
*/
DOIView.prototype.addDOIMetadataToHead = function (data) {
$('head').append('<script>')
.attr('type', 'application/ld+json')
.text(data);
$('head').append(
$('<script>')
.attr('type', 'application/ld+json')
.text(data)
);
// $('<script>')
// .attr('type', 'application/ld+json')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment