liquid_feedback_frontend

annotate env/util/trim.lua @ 39:06a6e5846536

Bugfixes in app/main/draft/diff.lua including missing encoding of diff output (security threat!)
author bsw
date Sun Mar 07 15:13:05 2010 +0100 (2010-03-07)
parents 0ee1e0c42d4c
children de8602f8d9bb
rev   line source
bsw/jbe@6 1 function util.trim(string)
bsw@9 2 return (string:gsub("^%s*", ""):gsub("%s*$", ""):gsub("%s+", " "))
bsw/jbe@6 3 end

Impressum / About Us