liquid_feedback_frontend
diff app/main/draft/_show.lua @ 1309:32cc544d5a5b
Cumulative patch for upcoming frontend version 4
| author | bsw/jbe |
|---|---|
| date | Sun Jul 15 14:07:29 2018 +0200 (2018-07-15) |
| parents | cc64a4fc6ab6 |
| children |
line diff
1.1 --- a/app/main/draft/_show.lua Thu Jun 23 03:30:57 2016 +0200 1.2 +++ b/app/main/draft/_show.lua Sun Jul 15 14:07:29 2018 +0200 1.3 @@ -10,7 +10,11 @@ 1.4 content = draft.content 1.5 } 1.6 else 1.7 - slot.put(draft:get_content("html")) 1.8 + if draft.formatting_engine == "html" or not draft.formatting_engine then 1.9 + slot.put(draft.content) 1.10 + else 1.11 + slot.put(draft:get_content("html")) 1.12 + end 1.13 end 1.14 end 1.15 }