mirror of
https://github.com/svg/svgo.git
synced 2025-07-29 20:21:14 +03:00
plugins/removeViewBox: more strict logic
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
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.
|
||||
|
Reference in New Issue
Block a user