diff --git a/Classes/EelHelpers/DummyImageSourceHelper.php b/Classes/EelHelpers/DummyImageSourceHelper.php index 34921ae..d277d66 100644 --- a/Classes/EelHelpers/DummyImageSourceHelper.php +++ b/Classes/EelHelpers/DummyImageSourceHelper.php @@ -89,7 +89,7 @@ public function src(): string 'h' => $this->getCurrentHeight(), 'bg' => ($this->backgroundColor ?: '000'), 'fg' => ($this->foregroundColor ?: 'fff'), - 't' => ($this->text ?: $this->getCurrentWidth() . ' x ' . $this->getCurrentHeight()) + 't' => (trim($this->text ?: $this->getCurrentWidth() . ' x ' . $this->getCurrentHeight())) ] ); return $uri;