Skip to content

Commit 94dc250

Browse files
author
Pieter Cappelle
committed
Fix #10417
1 parent 2e18329 commit 94dc250

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

app/code/Magento/Cms/Helper/Wysiwyg/Images.php

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,14 @@ public function getImageHtmlDeclaration($filename, $renderAsTag = false)
177177
$html = $fileurl; // $mediaPath;
178178
} else {
179179
$directive = $this->urlEncoder->encode($directive);
180-
$html = $this->_backendData->getUrl('cms/wysiwyg/directive', ['___directive' => $directive]);
180+
181+
$html = $this->_backendData->getUrl(
182+
'cms/wysiwyg/directive',
183+
[
184+
'___directive' => $directive,
185+
'_escape_params' => false,
186+
]
187+
);
181188
}
182189
}
183190
return $html;

0 commit comments

Comments
 (0)