fix: update tag normalization regex

This commit is contained in:
feitianbubu committed 2025-11-06 23:24:37 +08:00
1 parent a1f9a1c872
commit 92f7cdeb40
1 file changed
+1 -1
@@ -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);