mod_rest: Fix encoding of simple dataforms
authorKim Alvefur <zash@zash.se>
Sat, 07 Mar 2020 21:58:13 +0100
changeset 3936 8b34222216f4
parent 3935 2e8b284ac8b3
child 3937 93147b89ea67
mod_rest: Fix encoding of simple dataforms
mod_rest/jsonmap.lib.lua
--- a/mod_rest/jsonmap.lib.lua	Sat Mar 07 17:35:09 2020 +0100
+++ b/mod_rest/jsonmap.lib.lua	Sat Mar 07 21:58:13 2020 +0100
@@ -340,6 +340,7 @@
 						form:text_tag("value", v_);
 					end
 				end
+				form:up();
 			end
 			return form;
 		end