liquid_feedback_frontend

diff app/main/draft/_show.lua @ 4:80c215dbf076

Version alpha5

Many optical changes and improved usability

Support for different wiki-formatting-engines

Help system
author bsw/jbe
date Thu Dec 10 12:00:00 2009 +0100 (2009-12-10)
parents 5c601807d397
children 72c5e0ee7c98
line diff
     1.1 --- a/app/main/draft/_show.lua	Mon Nov 30 12:00:00 2009 +0100
     1.2 +++ b/app/main/draft/_show.lua	Thu Dec 10 12:00:00 2009 +0100
     1.3 @@ -9,9 +9,9 @@
     1.4      ui.field.text{ label = _"Author", name = "author_name" }
     1.5      ui.field.timestamp{ label = _"Created at", name = "created" }
     1.6      ui.container{
     1.7 -      attr = { class = "draft_content" },
     1.8 +      attr = { class = "draft_content wiki" },
     1.9        content = function()
    1.10 -        slot.put(format.wiki_text(draft.content))
    1.11 +        slot.put(format.wiki_text(draft.content, draft.formatting_engine))
    1.12        end
    1.13      }
    1.14    end

Impressum / About Us