Skip to content

Commit 55b6015

Browse files
authored
Merge pull request #152 from froschdesign/hotfix/groups
Adds all components in groups
2 parents 06808c2 + daf74b5 commit 55b6015

File tree

3 files changed

+265
-277
lines changed

3 files changed

+265
-277
lines changed

build/build-component-lists.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@
6666
</li>
6767
END;
6868

69-
7069
function preparePackage(array $package) : string
7170
{
7271
$card = CARD_TEMPLATE;
@@ -191,7 +190,7 @@ function prepareTocItem(string $name) : string
191190

192191
function filterAnchorName(string $name) : string
193192
{
194-
return str_replace(' ', '-', strtolower($name));
193+
return str_replace([' ', ',', '(', ')'], ['-', '', ''], strtolower($name));
195194
}
196195

197196
chdir(dirname(__DIR__));

0 commit comments

Comments
 (0)