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:
committed by
Lev Solntsev
parent
cd8a405aa2
commit
cbaefd8dcb
@ -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>.
|
||||
|
Reference in New Issue
Block a user