diff --git a/code/SVGTemplate.php b/code/SVGTemplate.php index b3e4193..b04c367 100755 --- a/code/SVGTemplate.php +++ b/code/SVGTemplate.php @@ -195,11 +195,11 @@ private function process($filePath) } if ($this->width) { - $root->setAttribute('width', $this->width . 'px'); + $root->setAttribute('width', $this->width); } if ($this->height) { - $root->setAttribute('height', $this->height . 'px'); + $root->setAttribute('height', $this->height); } if ($this->extra_classes) {