mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-12 22:40:46 -08:00
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 5898da8210)
Backport:
This commit is contained in:
parent
ee7399792f
commit
bf64d65c64
1 changed files with 1 additions and 1 deletions
|
|
@ -1132,7 +1132,7 @@ See URL `https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Input'.")
|
||||||
(nconc eww-form (list
|
(nconc eww-form (list
|
||||||
(list 'hidden
|
(list 'hidden
|
||||||
:name name
|
:name name
|
||||||
:value (dom-attr dom 'value)))))))
|
:value (or (dom-attr dom 'value) "")))))))
|
||||||
(t
|
(t
|
||||||
(eww-form-text dom)))
|
(eww-form-text dom)))
|
||||||
(unless (= start (point))
|
(unless (= start (point))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue