Skip to content

Commit

Permalink
Remove special characters
Browse files Browse the repository at this point in the history
  • Loading branch information
clementbiron committed Dec 13, 2023
1 parent 7b3efcf commit 3b2de7b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/modules/Common/components/Collections.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,10 @@ const Collections: React.FC<CollectionsProps> = ({
{maintainers.map((maintainer) => (
<img
key={`maintainer_${slugify(maintainer.name)}`}
src={`/images/contributors/${slugify(maintainer.name, { lower: true })}.png`}
src={`/images/contributors/${slugify(maintainer.name, {
lower: true,
remove: /[*+~.()'"!:@;,]/g,
})}.png`}
alt={maintainer.name}
/>
))}
Expand Down

0 comments on commit 3b2de7b

Please sign in to comment.