liquid_feedback_frontend

view env/util/trim.lua @ 133:fa55c8ded9fd

add wiki syntax help

add help display module
add links to the wiki editors that link to a help page of the selected wiki syntax.
author Daniel Poelzleithner <poelzi@poelzi.org>
date Tue Oct 05 16:18:39 2010 +0200 (2010-10-05)
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