Module:pollasena-roots: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 79: Line 79:
if links[i-1] == "-" then links[i] = links[i]:gsub("%|%*","|") end
if links[i-1] == "-" then links[i] = links[i]:gsub("%|%*","|") end
if links[i-1] ~= " " then links[i] = links[i]:gsub("%|%*%-","|-") end
if links[i-1] ~= " " then links[i] = links[i]:gsub("%|%*%-","|-") end
if alts[i-1]:match("%-$") then links[i] = links[i]:gsub("%|%*","|") end
if alts[i-1] == "j" then links[i] = links[i]:gsub("%|%*","|") end
end
end