Module:Yesno: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
(Ported Template:Yesno to Lua)
 
(Trim space)
Line 22: Line 22:
val = (val or ''):lower()
val = (val or ''):lower()
val = val:match'^%s*(.*%S)' or ''
if val == '' then
if val == '' then