mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 14:22:27 +01:00
Dont quote numbers, as per the previous behavior.
This commit is contained in:
@@ -707,7 +707,7 @@ liberator.Commands = function () //{{{
|
||||
let res = tokens[token];
|
||||
if (res == undefined) // Ignore anything undefined
|
||||
res = "<" + token + ">";
|
||||
if (quote)
|
||||
if (quote && typeof res != "number")
|
||||
return '"' + String.replace(res, '"', '\\"', "g") + '"';
|
||||
return res;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user