Fix tag name escaping on upload
This commit is contained in:
parent
0d1fec51c5
commit
da17f11e1a
1 changed files with 1 additions and 1 deletions
|
@ -320,7 +320,7 @@ class PostUploadView extends events.EventTarget {
|
||||||
uploadable.tags = [];
|
uploadable.tags = [];
|
||||||
if (this._commonTagsInputNode) {
|
if (this._commonTagsInputNode) {
|
||||||
var tags = this._commonTagsInputNode.value.split(' ');
|
var tags = this._commonTagsInputNode.value.split(' ');
|
||||||
tags = tags.filter(t => t != "");
|
tags = tags.filter(t => t != "").map(t => t.replace('\\', ''));
|
||||||
uploadable.tags = uploadable.tags.concat(tags);
|
uploadable.tags = uploadable.tags.concat(tags);
|
||||||
}
|
}
|
||||||
uploadable.relations = [];
|
uploadable.relations = [];
|
||||||
|
|
Loading…
Reference in a new issue