Module:Icon/sandbox: Difference between revisions

Content deleted Content added
use require("strict") instead of require("Module:No globals")
sandboxing a fix for the nbsp not working
Tags: Mobile edit Mobile web edit Advanced mobile edit
Line 54:
-- if display is link, just use standard wlink
if link == display then
return '<span class="nowrap">'..icon..'&nbsp; </span>[['..link..']]'
end
return '<span class="nowrap">'..icon..'&nbsp; </span>[['..link..'|'..display..']]'
end