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', '
', '