Skip to content

Commit d052503

Browse files
committed
Add fa- prefix to IDs
1 parent fe36d9f commit d052503

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

font-awesome-svg-png.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ function run() {
159159

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

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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "font-awesome-svg-png",
3-
"version": "1.0.16",
3+
"version": "1.0.17",
44
"description": "Font Awesome split to individual SVG and PNG files of different sizes along with Node.JS based generator",
55
"main": "font-awesome-svg-png",
66
"scripts": {

0 commit comments

Comments
 (0)