From 5898da8210af7953e638ddf7821c05260979c3f0 Mon Sep 17 00:00:00 2001 From: Vasilij Schneidermann Date: Thu, 4 Feb 2016 15:52:59 +1100 Subject: [PATCH] Allow sending empty hidden values in eww * lisp/net/eww.el (eww-tag-input): Allow sending empty hidden values (bug#22388). Copyright-paperwork-exempt: Yes --- lisp/net/eww.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/net/eww.el b/lisp/net/eww.el index cb231270b33..503651c9a38 100644 --- a/lisp/net/eww.el +++ b/lisp/net/eww.el @@ -1139,7 +1139,7 @@ See URL `https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Input'.") (nconc eww-form (list (list 'hidden :name name - :value (dom-attr dom 'value))))))) + :value (or (dom-attr dom 'value) ""))))))) (t (eww-form-text dom))) (unless (= start (point)) -- 2.39.2