diff options
author | codecalm <codecalm@gmail.com> | 2020-08-19 22:43:05 +0200 |
---|---|---|
committer | codecalm <codecalm@gmail.com> | 2020-08-19 22:43:05 +0200 |
commit | 6e6af0a92ff1ffdd0759519c3be100ab7009abd4 (patch) | |
tree | e080a63fb77b5698912cc18a9adebea71692015c /gulpfile.js | |
parent | paypal, dribble fix (diff) | |
download | tabler-icons-6e6af0a92ff1ffdd0759519c3be100ab7009abd4.tar.xz |
brands fixes
Diffstat (limited to 'gulpfile.js')
-rw-r--r-- | gulpfile.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gulpfile.js b/gulpfile.js index 6bf8b40..c003943 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -415,7 +415,7 @@ gulp.task('optimize', function (cb) { .replace(/\s?\/>/g, ' />') .replace(/\n\s*<(line|circle|path|polyline|rect)/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(/([Aa])\s?([0-9.]+)\s([0-9.]+)\s([0-9.]+)\s?([0-1])\s?(-?[0-9.]+)\s?(-?[0-9.]+)\s?(-?[0-9.]+)/gi, '$1$2 $3 $4 $5 $6 $7 $8') + .replace(/([Aa])\s?([0-9.]+)\s([0-9.]+)\s([0-9.]+)\s?([0-1])\s?([0-1])\s?(-?[0-9.]+)\s?(-?[0-9.]+)/gi, '$1$2 $3 $4 $5 $6 $7 $8') .replace(/\n\n+/g, "\n") .replace(/<path d="M([0-9.]*) ([0-9.]*)l([-0-9.]*) ([-0-9.]*)"/g, function(f, r1, r2, r3, r4){ |