liquid_feedback_frontend

view env/util/trim.lua @ 40:ca3a0552927f

Corrected previous security related bugfix in app/main/draft/diff.lua
author bsw
date Sun Mar 07 15:20:51 2010 +0100 (2010-03-07)
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