45,640
edits
No edit summary |
No edit summary |
||
Line 77: | Line 77: | ||
end | end | ||
if links[i-1] == "-" then links[i] = links[i]:gsub("%|%*","|") end | if i~=1 and links[i-1] == "-" then links[i] = links[i]:gsub("%|%*","|") end | ||
if links[i-1] ~= " " then links[i] = links[i]:gsub("%|%*%-","|-") end | if i~=1 and links[i-1] ~= " " then links[i] = links[i]:gsub("%|%*%-","|-") end | ||
if i~=1 and alts[i-1]:match("%-$") then links[i] = links[i]:gsub("%|%*","|") end | if i~=1 and alts[i-1]:match("%-$") then links[i] = links[i]:gsub("%|%*","|") end | ||
end | end |