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:
parent
f6a4588b3c
commit
25c1b1d919
@ -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 = '';
|
||||
|
Loading…
Reference in New Issue
Block a user