Ensure proper quoting of jsesc
This commit is contained in:
parent
53d9167682
commit
0ec0980e8d
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ class common extends utils {
|
|||
}
|
||||
|
||||
static quote (s) {
|
||||
return jsesc(s)
|
||||
return `'${jsesc(s)}'`
|
||||
}
|
||||
|
||||
static b64encode (str) {
|
||||
|
|
Loading…
Reference in a new issue