comparison mod_rest/jsonmap.lib.lua @ 3932:8b34222216f4

mod_rest: Fix encoding of simple dataforms
author Kim Alvefur <zash@zash.se>
date Sat, 07 Mar 2020 21:58:13 +0100
parents 3c3d216c6f6d
children 2c6d5734ae04
comparison
equal deleted inserted replaced
3931:2e8b284ac8b3 3932:8b34222216f4
338 elseif type(v) == "table" then 338 elseif type(v) == "table" then
339 for _, v_ in ipairs(v) do 339 for _, v_ in ipairs(v) do
340 form:text_tag("value", v_); 340 form:text_tag("value", v_);
341 end 341 end
342 end 342 end
343 form:up();
343 end 344 end
344 return form; 345 return form;
345 end 346 end
346 }; 347 };
347 348