Skip to content

Commit

Permalink
Add fa- prefix to IDs
Browse files Browse the repository at this point in the history
  • Loading branch information
Rush committed Apr 7, 2014
1 parent fe36d9f commit d052503
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion font-awesome-svg-png.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ function run() {

var m = result.data.match('(<path.*\/>)');

var svgPath = m[1].replace('path', 'path id="' + name + '"');
var svgPath = m[1].replace('path', 'path id="fa-' + name + '"');
if(outSvgSheet)
outSvgSheet.write(svgPath.replace(/\s*fill="[^"]+"/, '') + '\n');

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "font-awesome-svg-png",
"version": "1.0.16",
"version": "1.0.17",
"description": "Font Awesome split to individual SVG and PNG files of different sizes along with Node.JS based generator",
"main": "font-awesome-svg-png",
"scripts": {
Expand Down

0 comments on commit d052503

Please sign in to comment.