Content deleted Content added
forgot the function used at end, inline it there too, rm unnecessary check (only one param so no chance of 'no' being set), change to use data tables for consistency |
change where category added; has to be before final semicolon which can be removed |
||
Line 113:
elseif (name == "l") then -- put literals in quotes
val = '"' .. val .. '"'
end▼
-- if has associated category add it▼
if (cats[name]) then▼
end
-- build this entry
Line 119 ⟶ 123:
else
body = body .. "[[" .. wlinks[name] .. "|" .. labels[name] .. "]]: " .. val .. "; "
▲ end
▲ -- if has associated category add it
▲ if (cats[name]) then
▲ body = body .. cats[name]
end
end
|