convert.lua: if the string countains a backslash, don't quote with ''
This commit is contained in:
@@ -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 = '';
|
||||
|
Reference in New Issue
Block a user