File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
app/code/Magento/UrlRewrite/Block/Catalog/Category
dev/tests/integration/testsuite/Magento/UrlRewrite/Block/Catalog/Category Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -163,7 +163,7 @@ protected function _getNodesArray($node)
163
163
'children_count ' => (int )$ node ->getChildrenCount (),
164
164
'is_active ' => (bool )$ node ->getIsActive (),
165
165
// Scrub names for raw js output
166
- 'name ' => $ this ->escapeHtmlAttr ($ node ->getName (), false ),
166
+ 'name ' => $ this ->escapeHtml ($ node ->getName ()),
167
167
'level ' => (int )$ node ->getLevel (),
168
168
'product_count ' => (int )$ node ->getProductCount (),
169
169
];
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ public function testGetTreeArrayApostropheReplaced()
58
58
59
59
$ this ->assertNotContains ('\'' , $ tree ['children ' ][0 ]['children ' ][0 ]['children ' ][0 ]['name ' ]);
60
60
$ this ->assertEquals (
61
- '' ;Category 6' ; ' ,
61
+ '' ;Category 6' ; ' ,
62
62
$ tree ['children ' ][0 ]['children ' ][0 ]['children ' ][0 ]['name ' ]
63
63
);
64
64
}
You can’t perform that action at this time.
0 commit comments