Module:CargoQuery: Difference between revisions

20 bytes added ,  18:43, 12 April 2021
m
no edit summary
(trim keys in merge args)
mNo edit summary
Line 85: Line 85:
v = mw.text.trim(tostring(v))
v = mw.text.trim(tostring(v))
if v ~= '' then
if v ~= '' then
args[mw.text.trim(k)] = v
args[mw.text.trim(tostring(k))] = v
end
end
    end
    end
Line 92: Line 92:
v = mw.text.trim(v)
v = mw.text.trim(v)
if v ~= '' then
if v ~= '' then
args[mw.text.trim(k)] = v
args[mw.text.trim(tostring(k))] = v
end
end
end
end