Skip to content

Commit c265e3a

Browse files
author
Sergii Kovalenko
committed
MAGETWO-64716: Product name ignores HTML tags and displays plain text
1 parent 36138d0 commit c265e3a

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

app/code/Magento/Catalog/Setup/UpgradeData.php

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
namespace Magento\Catalog\Setup;
77

88
use Magento\Catalog\Api\Data\ProductAttributeInterface;
9-
use Magento\Eav\Model\AttributeRepository;
109
use Magento\Eav\Model\Entity\Attribute\ScopedAttributeInterface;
1110
use Magento\Framework\Setup\UpgradeDataInterface;
1211
use Magento\Framework\Setup\ModuleContextInterface;
@@ -41,11 +40,7 @@ class UpgradeData implements UpgradeDataInterface
4140
* @param CategorySetupFactory $categorySetupFactory
4241
* @param EavSetupFactory $eavSetupFactory
4342
*/
44-
public function __construct(
45-
CategorySetupFactory $categorySetupFactory,
46-
EavSetupFactory $eavSetupFactory,
47-
AttributeRepository $attributeRepository
48-
) {
43+
public function __construct(CategorySetupFactory $categorySetupFactory, EavSetupFactory $eavSetupFactory) {
4944
$this->categorySetupFactory = $categorySetupFactory;
5045
$this->eavSetupFactory = $eavSetupFactory;
5146
}

0 commit comments

Comments
 (0)