Difference between revisions of "Module:Yesno"
Jump to navigation
Jump to search
Trim space
>ATDT (Ported Template:Yesno to Lua) |
>ATDT (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 |