From 25c1b1d919a04814366183f00f02878c2dc3b556 Mon Sep 17 00:00:00 2001 From: Pavel Labath Date: Thu, 25 Nov 2010 13:49:56 +0100 Subject: [PATCH] convert.lua: if the string countains a backslash, don't quote with '' --- extras/convert.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extras/convert.lua b/extras/convert.lua index d887b4a5..a68d88bc 100755 --- a/extras/convert.lua +++ b/extras/convert.lua @@ -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 = '';