Skip to content

Commit 8ed7c36

Browse files
committed
Update links.js
1 parent 2c5a776 commit 8ed7c36

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

links.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,14 @@ function createLink(linkData) {
4040

4141
if (contents) {
4242

43-
link += '/' + encodeURI(contents);
43+
link += encodeURI(contents);
4444

4545
}
4646

4747

4848
if (linkData.file) {
49-
50-
link += '/' + encodeURIComponent(linkData.file.name);
49+
50+
link += '/' + encodeURI(linkData.file.name);
5151

5252
}
5353

0 commit comments

Comments
 (0)