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
@@ -299,7 +310,6 @@ function renderMarkingFormats(state) {
299
310
300
311
if(plainTextFullName==true){
301
312
markProps.toolName=state.props.toolLong;
302
-
303
313
}else{
304
314
markProps.toolName=state.props.toolShort;
305
315
}
@@ -355,7 +365,17 @@ function renderMarkingFormats(state) {
355
365
markProps.toolName=state.props.toolShort;
356
366
}
357
367
358
-
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
+
371
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>';
372
-
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