Support CJK header link

This commit is contained in:
zzossig 2020-12-12 01:19:44 +09:00
parent dcd09019f6
commit 290800d19a
1 changed files with 1 additions and 1 deletions

View File

@ -373,7 +373,7 @@
var newElemOuter = document.createElement('span'); var newElemOuter = document.createElement('span');
newElemOuter.classList.add('anchor'); newElemOuter.classList.add('anchor');
newElemOuter.classList.add('hide'); newElemOuter.classList.add('hide');
newElemOuter.setAttribute('data-clipboard-text', link); newElemOuter.setAttribute('data-clipboard-text', decodeURI(link));
newElemOuter.style.position = 'relative'; newElemOuter.style.position = 'relative';
var newElemInner = document.createElement('span'); var newElemInner = document.createElement('span');