1
0
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:
Kris Maglione
2008-10-11 00:22:53 +00:00
parent ff79cbf748
commit 29cc805622

View File

@@ -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;
});