mirror of
https://github.com/ksyasuda/SubMiner.git
synced 2026-08-15 13:55:51 -07:00
fix(stats): preserve season boundaries during AniList merge resolution
- Allow manual cross-season reassignment without merging entries - Require validated title matches for automatic merges - Share title normalization across AniList and stats flows
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
export function normalizeTitleIdentity(title: string): string {
|
||||
return title
|
||||
.normalize('NFKC')
|
||||
.toLowerCase()
|
||||
.replace(/[^\p{L}\p{N}]+/gu, ' ')
|
||||
.trim()
|
||||
.replace(/\s+/g, ' ');
|
||||
}
|
||||
Reference in New Issue
Block a user