Fixed space replacement

This commit is contained in:
Maboroshy 2018-02-06 19:46:08 +03:00 committed by GitHub
parent 90bf93a7ad
commit 9c33722048
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -172,7 +172,7 @@ Script {
// convert tag names with spaces to in-text tags with "_", "tag one" to @tag_one
for (var i = 0; i < tags.length; i++) {
tags[i] = tags[i].replace(" ", "_");
tags[i] = tags[i].replace(/ /g, "_");
}
return tags;