Skip to content

Commit

Permalink
Merge pull request #37 from korapp/bugfix/special-chars-in-names
Browse files Browse the repository at this point in the history
fix: Handle special chars in names
  • Loading branch information
korapp authored May 9, 2024
2 parents ce5ad45 + 6bd18de commit 0182e22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plasmoid/contents/ui/NordVPN.qml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ Item {

// Format NordVPN id
function formatArgument(name) {
return name ? name.replace(/\s/g, '_') : ''
return name ? '"' + name.replace(/\s/g, '_') + '"' : ''
}

// Log, display and rethrow error
Expand Down

0 comments on commit 0182e22

Please # to comment.