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 | 2f1b93f5e9562d885bc974066748b32dc3936133 (patch) | |
tree | 2cfd630467d1c20949943663f66b34df344400d6 /util/dataforms.lua | |
parent | 1f1ebdeeccaafd8fb9f1b869aac61efe8021535c (diff) | |
download | prosody-2f1b93f5e9562d885bc974066748b32dc3936133.tar.gz prosody-2f1b93f5e9562d885bc974066748b32dc3936133.zip |
util.dataforms: Normalize indentation
Diffstat (limited to 'util/dataforms.lua')
-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 |