Commit 92f7cdeb by feitianbubu

fix: update tag normalization regex

parent a1f9a1c8
......@@ -23,7 +23,7 @@ import { useMemo } from 'react';
const normalizeTags = (tags = '') =>
tags
.toLowerCase()
.split(/[,;|\s]+/)
.split(/[,;|]+/)
.map((t) => t.trim())
.filter(Boolean);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment