Module:links: Difference between revisions

m
Undo revision 7306 by TheNightAvl (talk)
m (Changed “” to ‘’ for glosses)
Tag: Reverted
m (Undo revision 7306 by TheNightAvl (talk))
Tag: Undo
Line 29: Line 29:
if not (data.pos or data.gloss) then return nil end
if not (data.pos or data.gloss) then return nil end
local out = {}
local out = {}
if data.gloss then table.insert(out, '' .. data.gloss .. '') end
if data.gloss then table.insert(out, '' .. data.gloss .. '') end
if data.pos then table.insert(out, data.pos) end
if data.pos then table.insert(out, data.pos) end
return table.concat(out, ", ")
return table.concat(out, ", ")