aboutsummaryrefslogtreecommitdiffstats
path: root/util/dataforms.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-08-04 23:12:41 +0200
committerKim Alvefur <zash@zash.se>2018-08-04 23:12:41 +0200
commitda42eb7404d8d292ac4daa3e913237594287fdae (patch)
tree2cfd630467d1c20949943663f66b34df344400d6 /util/dataforms.lua
parenta6b978b6d071347cdbebf5110c846da12f165e8f (diff)
downloadprosody-da42eb7404d8d292ac4daa3e913237594287fdae.tar.gz
prosody-da42eb7404d8d292ac4daa3e913237594287fdae.zip
util.dataforms: Normalize indentation
Diffstat (limited to 'util/dataforms.lua')
-rw-r--r--util/dataforms.lua6
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