Do not replace LCSC category slashes with arrows, as these are actually their names, not level separators

This commit is contained in:
Jan Böhmer 2025-09-06 19:27:10 +02:00
parent 065ef9f8ae
commit b093866d15

View file

@ -197,9 +197,6 @@ class LCSCProvider implements InfoProviderInterface
$category = $product['parentCatalogName'] ?? null;
if (isset($product['catalogName'])) {
$category = ($category ?? '') . ' -> ' . $product['catalogName'];
// Replace the / with a -> for better readability
$category = str_replace('/', ' -> ', $category);
}
return new PartDetailDTO(