1
0
mirror of https://github.com/svg/svgo.git synced 2025-07-29 20:21:14 +03:00

Update removeDesc.js (#798)

Expand default config to remove <desc> tags that start with "Created using" (in addition to "Created with").

Change is due to Figma using "Created using Figma" as their default SVG description. Sketch and others use "Created with Sketch.".
This commit is contained in:
Dave Houlbrooke
2017-09-22 19:22:46 +01:00
committed by Lev Solntsev
parent cd8a405aa2
commit cbaefd8dcb

View File

@ -10,7 +10,7 @@ exports.params = {
exports.description = 'removes <desc> (only non-meaningful by default)';
var standardDescs = /^Created with/;
var standardDescs = /^(Created with|Created using)/;
/**
* Removes <desc>.