liquid_feedback_frontend

view env/util/trim.lua @ 23:e04122245a44

Bugfix in app/main/initiative/show_static.lua: Added neccessary "expanded" argument
author bsw
date Sun Feb 21 13:09:00 2010 +0100 (2010-02-21)
parents 0ee1e0c42d4c
children de8602f8d9bb
line source
1 function util.trim(string)
2 return (string:gsub("^%s*", ""):gsub("%s*$", ""):gsub("%s+", " "))
3 end

Impressum / About Us