diff options
Diffstat (limited to 'gulpfile.js')
-rw-r--r-- | gulpfile.js | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gulpfile.js b/gulpfile.js index b0ccf8e..8ddd3ba 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -191,7 +191,6 @@ gulp.task('optimize', function (cb) { .replace(/\s?\/>/g, ' />') .replace(/\n\s*<(line|circle|path|polyline)/g, "\n <$1") .replace(/polyline points="([0-9.]+)\s([0-9.]+)\s([0-9.]+)\s([0-9.]+)"/g, 'line x1="$1" y1="$2" x2="$3" y2="$4"') - .replace(/\s+"/g, '"') .replace(/\n\n+/g, "\n"); fs.writeFileSync(file, svgFileContent); |