Skip to content

Commit 4ca115d

Browse files
authored
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.
1 parent ff6d11b commit 4ca115d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/license-utilities.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ function generateHTML(attributionDetails, shortLicenseName) {
143143
}
144144
}
145145
if (attributionDetails.workTitle) {
146-
const workTitleSpan = `<span rel="dc:title">${attributionDetails.workTitle}</span>`
146+
const workTitleSpan = `<span rel="dct:title">${attributionDetails.workTitle}</span>`
147147
if (attributionDetails.workUrl) {
148148
dataForHtmlGeneration.workTitle = `<a rel="cc:attributionURL" href="${attributionDetails.workUrl}">${workTitleSpan}</a>`
149149
} else {

0 commit comments

Comments
 (0)