fix: tags input normalization
This commit is contained in:
1 parent
488ec4a3af
commit
77548c8778
3 files changed
+19
-17
No files matched your search
@@ -55,7 +55,7 @@ module.exports = class Tag extends Model {
|
||||
|
||||
// Format tags
|
||||
|
||||
tags = _.uniq(tags.map(t => t.toLowerCase()))
|
||||
tags = _.uniq(tags.map(t => _.trim(t).toLowerCase()))
|
||||
|
||||
// Create missing tags
|
||||
|
||||
|
||||
Reference in new issue
Block a user