From 9a26bebd2eab9da4e3396d5e159f5518b7036138 Mon Sep 17 00:00:00 2001 From: Janik von Rotz Date: Wed, 23 Sep 2020 11:42:23 +0200 Subject: [PATCH] fix edit link --- build.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.js b/build.js index 4fbd2d88..fd3a2b54 100644 --- a/build.js +++ b/build.js @@ -19,7 +19,7 @@ fs.readdirSync(__dirname).filter(file => (file.slice(-3) === '.md') && (ignoreFi // add footer content = content + [ '\n\n', - '[📝 Edit Document](' + 'https://github.com/Mint-System/Knowledge/blob/master/' + file + ')\n', + '[📝 Edit Document](' + 'https://github.com/Mint-System/Knowledge/blob/master/' + file.replace(' ','%20') + ')\n', '
', '