Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Corrected Dublin Core Terms namespace
Modified namespace prefix from "dc" to "dct" within the span element for the title, to match the xmlns:dct declaration for the Dublin Core Terms namespace.
  • Loading branch information
Bobulous authored Mar 13, 2020
commit 4ca115d0f9d44113dbb875021b1ee236ee5bb00c
2 changes: 1 addition & 1 deletion src/utils/license-utilities.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ function generateHTML(attributionDetails, shortLicenseName) {
}
}
if (attributionDetails.workTitle) {
const workTitleSpan = `<span rel="dc:title">${attributionDetails.workTitle}</span>`
const workTitleSpan = `<span rel="dct:title">${attributionDetails.workTitle}</span>`
if (attributionDetails.workUrl) {
dataForHtmlGeneration.workTitle = `<a rel="cc:attributionURL" href="${attributionDetails.workUrl}">${workTitleSpan}</a>`
} else {
Expand Down