fix: tags input normalization
This commit is contained in:
@@ -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