fix: update tag normalization regex
This commit is contained in:
parent
a1f9a1c872
commit
92f7cdeb40
@ -23,7 +23,7 @@ import { useMemo } from 'react';
|
|||||||
const normalizeTags = (tags = '') =>
|
const normalizeTags = (tags = '') =>
|
||||||
tags
|
tags
|
||||||
.toLowerCase()
|
.toLowerCase()
|
||||||
.split(/[,;|\s]+/)
|
.split(/[,;|]+/)
|
||||||
.map((t) => t.trim())
|
.map((t) => t.trim())
|
||||||
.filter(Boolean);
|
.filter(Boolean);
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user