liquid_feedback_frontend

annotate env/format/wiki_text.lua @ 3:768faea1096d

Version alpha4

Members interested in an issue or supporting an initiative have a weight information attached. Browsing the members causing that weight is possible.

Initiatives may provide a link to an external discussion platform

Direct link on every initiative page to create an alternative initiative

Bugfix: No error when clicking "neutral", when "neutral" is currently selected
author bsw
date Mon Nov 30 12:00:00 2009 +0100 (2009-11-30)
parents 5c601807d397
children 80c215dbf076
rev   line source
bsw@2 1 function format.wiki_text(wiki_text)
bsw@2 2 local html, errmsg, exitcode = assert(
bsw@2 3 os.pfilter(wiki_text, config.wiki_parser_executeable)
bsw@2 4 )
bsw@2 5 if exitcode > 0 then
bsw@2 6 error("Wiki parser process returned with error code " .. tostring(exitcode))
bsw@2 7 elseif exitcode < 0 then
bsw@2 8 error("Wiki parser process was terminated by signal " .. tostring(-exitcode))
bsw@2 9 end
bsw@2 10 return html
bsw@2 11 end

Impressum / About Us