projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa7fe6c
)
Fix <textarea> default texts in eww
author
Xu Chunyang
<xuchunyang56@gmail.com>
Fri, 17 Jul 2020 14:43:57 +0000
(16:43 +0200)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Fri, 17 Jul 2020 14:43:57 +0000
(16:43 +0200)
* lisp/net/eww.el (eww-tag-textarea): <textarea> default text
comes from the contents, not a value attribute (bug#39867).
lisp/net/eww.el
patch
|
blob
|
history
diff --git
a/lisp/net/eww.el
b/lisp/net/eww.el
index 46cf60be08a27ad7e79b48ff22481a06938b6167..5fc0b088237671e116d5f65a215792763927ff2c 100644
(file)
--- a/
lisp/net/eww.el
+++ b/
lisp/net/eww.el
@@
-1260,7
+1260,7
@@
See URL `https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Input'.")
(defun eww-tag-textarea (dom)
(let ((start (point))
-
(value (or (dom-attr dom 'value
) ""))
+
(value (or (dom-text dom
) ""))
(lines (string-to-number (or (dom-attr dom 'rows) "10")))
(width (string-to-number (or (dom-attr dom 'cols) "10")))
end)