This commit is contained in:
Rene Schallner
2021-12-11 16:25:33 +01:00
parent 6429239c97
commit a911410705

View File

@@ -22,7 +22,7 @@ local function command_find_all_tags(opts)
end end
local function trim(s) local function trim(s)
if s:sub(1, 1) == '"' or s:sub(1, 1) == "'" then if s:sub(1, 1) == '"' or s:sub(1, 1) == "'" then
s = s:sub(2) s = s:sub(2)
end end
return (string.gsub(s, "^%s*(.-)%s*$", "%1")) return (string.gsub(s, "^%s*(.-)%s*$", "%1"))