Skip to content

Commit

Permalink
Fix path checking in removeHiddenElems. Fixes svg#333
Browse files Browse the repository at this point in the history
  • Loading branch information
GreLI committed Mar 30, 2015
1 parent 7fb966c commit b3ee51c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion plugins/removeHiddenElems.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ exports.params = {
polygonEmptyPoints: true
};

var regValidPath = /m.*[lhvcsqta]/i;
var regValidPath = /m/i;

/**
* Remove hidden elements with disabled rendering:
Expand Down
5 changes: 4 additions & 1 deletion test/plugins/removeHiddenElems.08.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit b3ee51c

Please sign in to comment.