Skip to content

Commit e67757a

Browse files
Chhandak.Baruadevarul
authored andcommitted
ACP2E-1377: HTML tags removed in Page Builder editor after Product Import
1 parent 1544a50 commit e67757a

File tree

1 file changed

+1
-2
lines changed
  • app/code/Magento/CatalogImportExport/Model/Export

1 file changed

+1
-2
lines changed

app/code/Magento/CatalogImportExport/Model/Export/Product.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1086,7 +1086,7 @@ protected function collectRawData()
10861086

10871087
if ($storeId != Store::DEFAULT_STORE_ID
10881088
&& isset($data[$itemId][Store::DEFAULT_STORE_ID][$fieldName])
1089-
&& $data[$itemId][Store::DEFAULT_STORE_ID][$fieldName] == htmlspecialchars_decode($attrValue)
1089+
&& $data[$itemId][Store::DEFAULT_STORE_ID][$fieldName] == $attrValue
10901090
) {
10911091
continue;
10921092
}
@@ -1112,7 +1112,6 @@ protected function collectRawData()
11121112
}
11131113

11141114
if (!empty($additionalAttributes)) {
1115-
$additionalAttributes = array_map('htmlspecialchars_decode', $additionalAttributes);
11161115
$data[$itemId][$storeId][self::COL_ADDITIONAL_ATTRIBUTES] =
11171116
implode(Import::DEFAULT_GLOBAL_MULTI_VALUE_SEPARATOR, $additionalAttributes);
11181117
} else {

0 commit comments

Comments
 (0)