You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// [T]: could carve out separate sections for different mark formats here
316
318
// only handles plain text at the moment
@@ -363,7 +365,17 @@ function renderMarkingFormats(state) {
363
365
markProps.toolName=state.props.toolShort;
364
366
}
365
367
366
-
letrichTextMark='<a href="'+attribution.workLink+'">'+attribution.title+'</a>'+copyright+' by '+'<a href="'+attribution.creatorLink+'">'+attribution.creator+'</a>'+' is '+typeAsVerb+' '+'<a href="'+state.props.toolURL+'">'+markProps.toolName+'</a>'+ccIconSet;
richTextMark='This work'+' is '+typeAsVerb+' '+'<a href="'+state.props.toolURL+'">'+markProps.toolName+'</a>'+ccIconSet;
373
+
console.log('plain text generic mark true');
374
+
}else{
375
+
richTextMark='<a href="'+attribution.workLink+'">'+attribution.title+'</a>'+copyright+' by '+'<a href="'+attribution.creatorLink+'">'+attribution.creator+'</a>'+' is '+typeAsVerb+' '+'<a href="'+state.props.toolURL+'">'+markProps.toolName+'</a>'+ccIconSet;
htmlMark='This work'+' is '+typeAsVerb+' '+'<a href="'+state.props.toolURL+'">'+markProps.toolName+'</a>'+ccIconSet;
397
+
console.log('plain text generic mark true');
398
+
}else{
399
+
htmlMark='<a href="'+attribution.workLink+'">'+attribution.title+'</a>'+copyright+' by '+'<a href="'+attribution.creatorLink+'">'+attribution.creator+'</a>'+' is '+typeAsVerb+' '+'<a href="'+state.props.toolURL+'">'+markProps.toolName+'</a>'+ccIconSet;
400
+
console.log('plain text generic mark false');
401
+
}
402
+
379
403
//defaultHTML = '<p xmlns:cc="http://creativecommons.org/ns#">This work is licensed under <a href="https://creativecommons.org/licenses/by-sa/4.0/" target="_blank" rel="license noopener noreferrer">CC BY-SA 4.0<img src="https://mirrors.creativecommons.org/presskit/icons/cc.svg" alt=""><img src="https://mirrors.creativecommons.org/presskit/icons/by.svg" alt=""><img src="https://mirrors.creativecommons.org/presskit/icons/sa.svg" alt=""></a></p>';
380
-
lethtmlMark='<a href="'+attribution.workLink+'">'+attribution.title+'</a>'+copyright+' by '+'<a href="'+attribution.creatorLink+'">'+attribution.creator+'</a>'+' is '+typeAsVerb+' '+'<a href="'+state.props.toolURL+'">'+markProps.toolName+'</a>'+ccIconSet;
0 commit comments