diff options
-rw-r--r-- | src/SvgSpriteCompiler.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SvgSpriteCompiler.php b/src/SvgSpriteCompiler.php index b4ed89f..5c4e19b 100644 --- a/src/SvgSpriteCompiler.php +++ b/src/SvgSpriteCompiler.php @@ -64,7 +64,7 @@ class SvgSpriteCompiler private function createSymbol(string $name, DOMElement $svg): DOMElement { - $attributes = ['width', 'height', 'x', 'y', 'viewBox', 'preserveAspectRatio']; + $attributes = ['viewBox', 'preserveAspectRatio']; $symbol = $this->svg->createElement('symbol'); $symbol->setAttribute('id', $name); |