mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 22:42:26 +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];
|
let res = tokens[token];
|
||||||
if (res == undefined) // Ignore anything undefined
|
if (res == undefined) // Ignore anything undefined
|
||||||
res = "<" + token + ">";
|
res = "<" + token + ">";
|
||||||
if (quote)
|
if (quote && typeof res != "number")
|
||||||
return '"' + String.replace(res, '"', '\\"', "g") + '"';
|
return '"' + String.replace(res, '"', '\\"', "g") + '"';
|
||||||
return res;
|
return res;
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user