Skip to content

Commit

Permalink
ro-crate previewer
Browse files Browse the repository at this point in the history
  • Loading branch information
ErykKul committed Sep 29, 2023
1 parent 5a077d7 commit f450cf5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion previewers/betatest/js/rocrate.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ function translateBaseHtmlPage() {

async function writeContentAndData(data, fileUrl, file, title, authors) {
addStandardPreviewHeader(file, title, authors);
$('.preview').append($("<script type=\"application/ld+json\"/>").value(data));
$('.preview').append($("<script type=\"application/ld+json\"/>").html(data));
$('.preview').append($("<script type=\"text/javascript\" src=\"js/ro-crate-dynamic.js\"/>"));
}

0 comments on commit f450cf5

Please sign in to comment.