Module:Sandbox/Frietjes: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 17:
local res = {}
for t in mw.text.gsplit(s, '%s*♦♦%s*') do
local k = mw.textustring.gsub(t, '^([^=]-)%s*=%s*(.-)%s*$', '%1')
local v = mw.textustring.gsub(t, '^([^=]-)%s*=%s*(.-)%s*$', '%2')
if k ~= t then
res[k] = v