File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
app/code/Magento/UrlRewrite/Block/Catalog/Category Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 3
3
* Copyright © Magento, Inc. All rights reserved.
4
4
* See COPYING.txt for license details.
5
5
*/
6
+
6
7
namespace Magento \UrlRewrite \Block \Catalog \Category ;
7
8
8
9
use Magento \Catalog \Api \CategoryRepositoryInterface ;
@@ -162,7 +163,7 @@ protected function _getNodesArray($node)
162
163
'children_count ' => (int )$ node ->getChildrenCount (),
163
164
'is_active ' => (bool )$ node ->getIsActive (),
164
165
// Scrub names for raw js output
165
- 'name ' => htmlspecialchars ( $ this ->escapeHtml ($ node ->getName ()), ENT_COMPAT , ' UTF-8 ' ),
166
+ 'name ' => $ this ->escapeHtmlAttr ($ node ->getName (), false ),
166
167
'level ' => (int )$ node ->getLevel (),
167
168
'product_count ' => (int )$ node ->getProductCount (),
168
169
];
You can’t perform that action at this time.
0 commit comments