diff --git a/layouts/partials/script/single-script.html b/layouts/partials/script/single-script.html index 456f2cf..4a23c59 100644 --- a/layouts/partials/script/single-script.html +++ b/layouts/partials/script/single-script.html @@ -373,7 +373,7 @@ var newElemOuter = document.createElement('span'); newElemOuter.classList.add('anchor'); newElemOuter.classList.add('hide'); - newElemOuter.setAttribute('data-clipboard-text', link); + newElemOuter.setAttribute('data-clipboard-text', decodeURI(link)); newElemOuter.style.position = 'relative'; var newElemInner = document.createElement('span');