10,735
edits
TheNightAvl (talk | contribs) mNo edit summary |
TheNightAvl (talk | contribs) mNo edit summary |
||
Line 39: | Line 39: | ||
if label == null then | if label == null then | ||
if mw.ustring.find(l_id, "^%[[^%[%]]+%]$") then | if mw.ustring.find(l_id, "^%[[^%[%]]+%]$") then | ||
local l_id_link = mw.ustring. | local l_id_link = mw.ustring.match(l_id, "%[([^%[%]]+)%]") | ||
out = out .. "</i>[[" .. l_id_link .. "#" .. language.name .. "|" .. l_id_link .. "]]<i>" | out = out .. "</i>[[" .. l_id_link .. "#" .. language.name .. "|" .. l_id_link .. "]]<i>" | ||
else | else |