Fix builder.js

This commit is contained in:
Angelos Chalaris
2017-11-30 19:14:04 +02:00
parent bb40a7ec08
commit d01621c8c6
2 changed files with 7 additions and 7 deletions

View File

@ -28,7 +28,7 @@ catch (err){
try {
output += `${startPart+'\n'}`;
for(var snippet of Object.entries(snippets))
output += `* [${snippet[0][0].toUpperCase() + snippet[0].replace(/-/g,' ').slice(1,snippet[0].length-3)}](${snippet[0]})\n`
output += `* [${snippet[0][0].toUpperCase() + snippet[0].replace(/-/g,' ').slice(1,snippet[0].length-3)}](#${snippet[0].slice(0,snippet[0].length-3)})\n`
output += '\n';
for(var snippet of Object.entries(snippets))
output += `${snippet[1]+'\n'}`;