liquid_feedback_frontend

view env/util/trim.lua @ 835:c54f484b1691

Added example configuration of issue discussion URL
author bsw
date Fri Jul 13 20:48:23 2012 +0200 (2012-07-13)
parents de8602f8d9bb
children
line source
1 function util.trim(string)
2 if string == nil then
3 return string
4 end
5 return (string:gsub("^%s*", ""):gsub("%s*$", ""):gsub("%s+", " "))
6 end

Impressum / About Us