Skip to content

Commit

Permalink
Update removeDesc.js (svg#798)
Browse files Browse the repository at this point in the history
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.".
  • Loading branch information
dhoulb authored and GreLI committed Sep 22, 2017
1 parent cd8a405 commit cbaefd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/removeDesc.js
Original file line number Diff line number Diff line change
Expand Up @@ -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>.
Expand Down

0 comments on commit cbaefd8

Please sign in to comment.