summaryrefslogtreecommitdiff
path: root/node_modules/svgo/plugins/cleanupAttrs.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/svgo/plugins/cleanupAttrs.js')
-rw-r--r--node_modules/svgo/plugins/cleanupAttrs.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/node_modules/svgo/plugins/cleanupAttrs.js b/node_modules/svgo/plugins/cleanupAttrs.js
index af66193a..7b4c6b70 100644
--- a/node_modules/svgo/plugins/cleanupAttrs.js
+++ b/node_modules/svgo/plugins/cleanupAttrs.js
@@ -25,12 +25,12 @@ exports.fn = (root, params) => {
// new line which requires a space instead of themself
node.attributes[name] = node.attributes[name].replace(
regNewlinesNeedSpace,
- (match, p1, p2) => p1 + ' ' + p2
+ (match, p1, p2) => p1 + ' ' + p2,
);
// simple new line
node.attributes[name] = node.attributes[name].replace(
regNewlines,
- ''
+ '',
);
}
if (trim) {
@@ -39,7 +39,7 @@ exports.fn = (root, params) => {
if (spaces) {
node.attributes[name] = node.attributes[name].replace(
regSpaces,
- ' '
+ ' ',
);
}
}