diff --git a/404.html b/404.html index ee91fbc0b..9eb0f93a1 100644 --- a/404.html +++ b/404.html @@ -224,7 +224,7 @@
  • Pocket
    #EF3F56
  • Sina Weibo
    #E6162D
  • Pinterest
    #BD081C
  • -
  • Macys
    #E11A2B
  • +
  • Macy’s
    #E11A2B
  • Opera
    #FF1B2D
  • Netflix
    #e50914
  • Sauce Labs
    #EC4047
  • diff --git a/index.html b/index.html index ee91fbc0b..9eb0f93a1 100644 --- a/index.html +++ b/index.html @@ -224,7 +224,7 @@
  • Pocket
    #EF3F56
  • Sina Weibo
    #E6162D
  • Pinterest
    #BD081C
  • -
  • Macys
    #E11A2B
  • +
  • Macy’s
    #E11A2B
  • Opera
    #FF1B2D
  • Netflix
    #e50914
  • Sauce Labs
    #EC4047
  • diff --git a/src/build.js b/src/build.js index 8fdd5032d..a89a181ed 100644 --- a/src/build.js +++ b/src/build.js @@ -88,8 +88,8 @@ var main = "

    " + 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" },