diff --git a/Plugin/WysiwygImagePlugin.php b/Plugin/WysiwygImagePlugin.php index 6f86218..88c1019 100644 --- a/Plugin/WysiwygImagePlugin.php +++ b/Plugin/WysiwygImagePlugin.php @@ -42,7 +42,7 @@ public function aroundGetImageHtmlDeclaration( $absolutePath = $subject->getCurrentPath() . '/' . $filename; return $this->mediaDir->getRelativePath($absolutePath); } - $result = $proceed(); + $result = $proceed($filename, $renderAsTag); return $result; } @@ -53,4 +53,4 @@ private function returnRelativePath($renderAsTag): bool } return false; } -} \ No newline at end of file +}