Skip to content

Commit a49618a

Browse files
Update Output.php
1 parent 81f65c1 commit a49618a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Catalog/Helper/Output.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ public function productAttribute($product, $attributeHtml, $attributeName)
151151
$attributeHtml = nl2br($attributeHtml);
152152
}
153153
}
154-
if ($attribute->getIsHtmlAllowedOnFront() && $attribute->getIsWysiwygEnabled()) {
154+
if ($attribute->getIsHtmlAllowedOnFront() || $attribute->getIsWysiwygEnabled()) {
155155
if ($this->_catalogData->isUrlDirectivesParsingAllowed()) {
156156
$attributeHtml = $this->_getTemplateProcessor()->filter($attributeHtml);
157157
}

0 commit comments

Comments
 (0)