mirror of
https://github.com/marty-oehme/scripts.git
synced 2024-12-22 07:58:08 +00:00
Fixed space replacement
This commit is contained in:
parent
90bf93a7ad
commit
9c33722048
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue