10,731
edits
TheNightAvl (talk | contribs) No edit summary |
TheNightAvl (talk | contribs) No edit summary |
||
Line 131: | Line 131: | ||
while mw.ustring.find(temp, "^%:[^%(%<%[%+%/%:]+") do | while mw.ustring.find(temp, "^%:[^%(%<%[%+%/%:]+") do | ||
local link = mw.ustring.match(temp, "^%:([^%(%<%[%+%/%:]+)") | local link = mw.ustring.match(temp, "^%:([^%(%<%[%+%/%:]+)") | ||
local spacing = mw.ustring.match(link, "%s+$ | local spacing = mw.ustring.match(link, "%s+$") or "" | ||
link = mw.ustring.gsub(link, "%s+$", "") | link = mw.ustring.gsub(link, "%s+$", "") | ||
temp_append(m_links.full_link{language = language, term = link} .. spacing) | temp_append(m_links.full_link{language = language, term = link} .. spacing) |