liquid_feedback_frontend

diff env/format/wiki_text.lua @ 2:5c601807d397

Version alpha3

Dark green part of issue supporter bargraph represents all satisfied supporters, regardless of having seen the latest draft

Wiki formatting for drafts

Showing differences between two drafts of the same initiative

Display of outgoing delegation chains

Many other improvements
author bsw
date Mon Nov 23 12:00:00 2009 +0100 (2009-11-23)
parents
children 80c215dbf076
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/env/format/wiki_text.lua	Mon Nov 23 12:00:00 2009 +0100
     1.3 @@ -0,0 +1,11 @@
     1.4 +function format.wiki_text(wiki_text)
     1.5 +  local html, errmsg, exitcode = assert(
     1.6 +    os.pfilter(wiki_text, config.wiki_parser_executeable)
     1.7 +  )
     1.8 +  if exitcode > 0 then
     1.9 +    error("Wiki parser process returned with error code " .. tostring(exitcode))
    1.10 +  elseif exitcode < 0 then
    1.11 +    error("Wiki parser process was terminated by signal " .. tostring(-exitcode))
    1.12 +  end
    1.13 +  return html
    1.14 +end

Impressum / About Us