mirror of
https://github.com/Readarr/Readarr
synced 2025-12-31 20:52:35 +01:00
Trim spaces from a split list in GetValueConverter
This commit is contained in:
parent
1989174801
commit
7d77b1fbe5
1 changed files with 1 additions and 1 deletions
|
|
@ -241,7 +241,7 @@ private static Func<object, object> GetValueConverter(Type propertyType)
|
|||
}
|
||||
else
|
||||
{
|
||||
return fieldValue.ToString().Split(new[] { ',' }, StringSplitOptions.RemoveEmptyEntries);
|
||||
return fieldValue.ToString().Split(new[] { ',' }, StringSplitOptions.RemoveEmptyEntries).Select(v => v.Trim());
|
||||
}
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue