mirror of
https://github.com/QuantumNous/new-api.git
synced 2026-03-30 05:02:17 +00:00
fix: update tag normalization regex
This commit is contained in:
@@ -23,7 +23,7 @@ import { useMemo } from 'react';
|
||||
const normalizeTags = (tags = '') =>
|
||||
tags
|
||||
.toLowerCase()
|
||||
.split(/[,;|\s]+/)
|
||||
.split(/[,;|]+/)
|
||||
.map((t) => t.trim())
|
||||
.filter(Boolean);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user