diff options
author | Kim Alvefur <zash@zash.se> | 2018-08-04 23:12:41 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-08-04 23:12:41 +0200 |
commit | da42eb7404d8d292ac4daa3e913237594287fdae (patch) | |
tree | 2cfd630467d1c20949943663f66b34df344400d6 | |
parent | a6b978b6d071347cdbebf5110c846da12f165e8f (diff) | |
download | prosody-da42eb7404d8d292ac4daa3e913237594287fdae.tar.gz prosody-da42eb7404d8d292ac4daa3e913237594287fdae.zip |
util.dataforms: Normalize indentation
-rw-r--r-- | util/dataforms.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/util/dataforms.lua b/util/dataforms.lua index 45af72d1..a75e8db0 100644 --- a/util/dataforms.lua +++ b/util/dataforms.lua @@ -113,10 +113,10 @@ function form_t.form(layout, data, formtype) form:tag("value"):text(line):up(); end elseif field_type == "list-single" then - form:tag("value"):text(value):up(); + form:tag("value"):text(value):up(); elseif field_type == "list-multi" then - for _, val in ipairs(value) do - form:tag("value"):text(val):up(); + for _, val in ipairs(value) do + form:tag("value"):text(val):up(); end end end |