mirror of
https://github.com/svg/svgo.git
synced 2025-07-31 07:44:22 +03:00
plugins/removeViewBox: more strict logic
This commit is contained in:
@ -1,5 +1,5 @@
|
|||||||
var regViewBox = /^0\s0\s(\d+)\s(\d+)$/,
|
var regViewBox = /^0\s0\s(\d+)\s(\d+)$/,
|
||||||
viewBoxElems = ['svg', 'marker', 'pattern', 'symbol', 'view'];
|
viewBoxElems = ['svg', 'pattern'];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Remove viewBox attr which coincides with a width/height box.
|
* Remove viewBox attr which coincides with a width/height box.
|
||||||
|
Reference in New Issue
Block a user