From: Vasilij Schneidermann Date: Thu, 4 Feb 2016 04:52:59 +0000 (+1100) Subject: Allow sending empty hidden values in eww X-Git-Tag: emacs-25.0.91~89 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=bf64d65c640ebec74d804a76b8e6cef28c275381;p=emacs.git 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 (cherry picked from commit 5898da8210af7953e638ddf7821c05260979c3f0) Backport: --- diff --git a/lisp/net/eww.el b/lisp/net/eww.el index a96241d69f9..5e24d4fef4e 100644 --- a/lisp/net/eww.el +++ b/lisp/net/eww.el @@ -1132,7 +1132,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))