1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-12-24 11:55:43 +00:00

convert.lua: if the string countains a backslash, don't quote with ''

This commit is contained in:
Pavel Labath 2010-11-25 13:49:56 +01:00
parent f6a4588b3c
commit 25c1b1d919

View File

@ -18,7 +18,7 @@ For more information about the new format, read the wiki page
]];
local function quote(s)
if not s:find("[\n']") then
if not s:find("[\n'\\]") then
return "'" .. s .. "'";
end;
local q = '';