aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--html.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/html.c b/html.c
index 008c05b..25a2e90 100644
--- a/html.c
+++ b/html.c
@@ -4824,6 +4824,9 @@ int html_post_handler(const xs_dict *req, const char *q_path,
/* set the option */
msg = xs_dict_append(msg, "name", v);
+ /* delete the content */
+ msg = xs_dict_del(msg, "content");
+
xs *c_msg = msg_create(&snac, msg);
enqueue_message(&snac, c_msg);