From f2f3e49eeb3a420bf41b7fd7e58891e9b4cd3bb0 Mon Sep 17 00:00:00 2001 From: codecalm Date: Wed, 19 Aug 2020 22:32:57 +0200 Subject: paypal, dribble fix --- gulpfile.js | 2 +- src/_icons/brand-dribbble.svg | 2 +- src/_icons/brand-paypal.svg | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index c003943f..6bf8b40a 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-1])\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-9.]+)\s?(-?[0-9.]+)\s?(-?[0-9.]+)/gi, '$1$2 $3 $4 $5 $6 $7 $8') .replace(/\n\n+/g, "\n") .replace(/ - + diff --git a/src/_icons/brand-paypal.svg b/src/_icons/brand-paypal.svg index e74e52b2..4b59824f 100644 --- a/src/_icons/brand-paypal.svg +++ b/src/_icons/brand-paypal.svg @@ -2,5 +2,5 @@ category: Brand --- - + -- cgit v1.2.1