liquid_feedback_frontend
annotate app/main/index/usage_terms.lua @ 1841:e6983d79d74f
Fix Lua error on <ol> or <ul> tag at end of input to util.html_is_safe(...)
author | jbe |
---|---|
date | Thu Feb 03 15:21:45 2022 +0100 (2022-02-03) |
parents | 701a5cf6b067 |
children | 2e5b303ea68e |
rev | line source |
---|---|
bsw@1045 | 1 ui.title(_"Terms of use") |
bsw@1045 | 2 |
bsw@1045 | 3 ui.section( function() |
bsw@1045 | 4 |
bsw@1045 | 5 ui.sectionHead( function() |
bsw@1045 | 6 ui.heading { level = 1, content = _"Terms of use" } |
bsw@1045 | 7 end ) |
bsw@1045 | 8 |
bsw@1045 | 9 ui.sectionRow( function() |
bsw/jbe@19 | 10 |
bsw@1045 | 11 ui.container{ |
bsw@1045 | 12 attr = { class = "wiki use_terms" }, |
bsw@1045 | 13 content = function() |
bsw@1045 | 14 slot.put(config.use_terms) |
bsw@1045 | 15 end |
bsw@1045 | 16 } |
bsw@1045 | 17 |
bsw@1045 | 18 end ) |
bsw@1045 | 19 end ) |