Software /
code /
prosody
Diff
util/dataforms.lua @ 9111:bc7473fb7ad3
util.dataforms: Normalize indentation
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 04 Aug 2018 23:12:41 +0200 |
parent | 9094:05979ae1e38a |
child | 9121:e5eb36ee07a2 |
line wrap: on
line diff
--- a/util/dataforms.lua Sat Aug 04 21:37:48 2018 +0100 +++ b/util/dataforms.lua Sat Aug 04 23:12:41 2018 +0200 @@ -113,10 +113,10 @@ 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