diff --git a/404.html b/404.html index ee91fbc0b..9eb0f93a1 100644 --- a/404.html +++ b/404.html @@ -224,7 +224,7 @@
" + source.icons.length + " SVG icons for for (var i = 0; i < source.icons.length; i++) { var fileName = source.icons[i].title.toLowerCase(); - fileName = fileName.replace(/[ |!|.]/g, ''); - fileName = fileName.replace(/[+]/, 'plus'); + fileName = fileName.replace(/[!|’|.| ]/g, ''); // Replace bang, apostrophe, period and space with nothing. + fileName = fileName.replace(/[+]/, 'plus'); // Replace the plus symbol with “plus”. filePath = "../icons/" + fileName + ".svg"; var fs = require('fs'); var svg = fs.readFileSync(filePath, 'utf8'); diff --git a/src/simple-icons.json b/src/simple-icons.json index 56ed3af25..40357a78c 100644 --- a/src/simple-icons.json +++ b/src/simple-icons.json @@ -476,7 +476,7 @@ "source": "http://www.livejournal.com" }, { - "title": "Macys", + "title": "Macy’s", "hex": "E11A2B", "source": "http://macys.com" },