This commit is contained in:
xaoxuu 2021-07-31 19:16:01 +08:00
parent 0d9ebb54c5
commit 48edbf2497
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ hexo.extend.tag.register('copy', function(args) {
}
}
const copy_id = 'copy_' + ++copy_index + '-' + text.replace(/[^a-z|0-9|.:]/gi, '');
const copy_id = 'copy_' + ++copy_index;
var el = '';
el += '<div class="tag-plugin copy"';