mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-03 06:18:28 +01:00
Trim tags
This commit is contained in:
@@ -15,6 +15,7 @@ namespace MediaBrowser.Controller.Entities
|
||||
throw new ArgumentNullException(nameof(name));
|
||||
}
|
||||
|
||||
name = name.Trim();
|
||||
var current = item.Tags;
|
||||
|
||||
if (!current.Contains(name, StringComparison.OrdinalIgnoreCase))
|
||||
|
||||
Reference in New Issue
Block a user