Module:Yesno: Difference between revisions
Jump to navigation
Jump to search
m>Ori Livneh Ported Template:Yesno to Lua |
m>Ori Livneh 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 |