aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Magne Ingebrigtsen2013-06-17 23:11:40 +0000
committerKatsumi Yamaoka2013-06-17 23:11:40 +0000
commit9822de7295dbb3158b3b196ba50e81dae880501d (patch)
treea73ea9ed76d1a8f193aa7f6d85cd0904845a1f4a
parentc048c0228785ba75160e46022140fcd33fa0c7f7 (diff)
downloademacs-9822de7295dbb3158b3b196ba50e81dae880501d.tar.gz
emacs-9822de7295dbb3158b3b196ba50e81dae880501d.zip
lisp/gnus/eww.el (eww-tag-input): Support <input type=image>
-rw-r--r--lisp/gnus/ChangeLog1
-rw-r--r--lisp/gnus/eww.el3
2 files changed, 3 insertions, 1 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index b9c1d735f2d..c2ce39633b5 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -4,6 +4,7 @@
4 (eww-convert-widgets): Don't bug out if the first widget starts at the 4 (eww-convert-widgets): Don't bug out if the first widget starts at the
5 beginning of the buffer. 5 beginning of the buffer.
6 (eww-convert-widgets): Fix last patch. 6 (eww-convert-widgets): Fix last patch.
7 (eww-tag-input): Support <input type=image>.
7 8
8 * shr.el (shr-insert-table): Respect border-collapse: collapse. 9 * shr.el (shr-insert-table): Respect border-collapse: collapse.
9 (shr-tag-base): Protect against base specs that are degenerate. 10 (shr-tag-base): Protect against base specs that are degenerate.
diff --git a/lisp/gnus/eww.el b/lisp/gnus/eww.el
index fc6f591e0ce..36baf354100 100644
--- a/lisp/gnus/eww.el
+++ b/lisp/gnus/eww.el
@@ -279,7 +279,8 @@
279 (value (cdr (assq :value cont))) 279 (value (cdr (assq :value cont)))
280 (widget 280 (widget
281 (cond 281 (cond
282 ((equal type "submit") 282 ((or (equal type "submit")
283 (equal type "image"))
283 (list 'push-button 284 (list 'push-button
284 :notify 'eww-submit 285 :notify 'eww-submit
285 :name (cdr (assq :name cont)) 286 :name (cdr (assq :name cont))