Commit a959fc40 authored by Katsumi Yamaoka's avatar Katsumi Yamaoka
Browse files

shr.el (shr-tag-img): Don't get images displayed in tables.

parent 969aa734
2011-10-06 Katsumi Yamaoka <yamaoka@jpl.org>
* shr.el (shr-tag-img): Don't get images displayed in tables.
2011-10-03 Glenn Morris <rgm@gnu.org>
 
* gnus-group.el (gnus-bug-group-download-format-alist): Once again get
......
......@@ -914,12 +914,13 @@ ones, in case fg and bg are nil."
(shr-encode-url url) 'shr-image-fetched
(list (current-buffer) start (set-marker (make-marker) (1- (point))))
t)))
(put-text-property start (point) 'keymap shr-map)
(put-text-property start (point) 'shr-alt alt)
(put-text-property start (point) 'image-url url)
(put-text-property start (point) 'image-displayer
(shr-image-displayer shr-content-function))
(put-text-property start (point) 'help-echo alt)
(when (zerop shr-table-depth) ;; We are not in a table.
(put-text-property start (point) 'keymap shr-map)
(put-text-property start (point) 'shr-alt alt)
(put-text-property start (point) 'image-url url)
(put-text-property start (point) 'image-displayer
(shr-image-displayer shr-content-function))
(put-text-property start (point) 'help-echo alt))
(setq shr-state 'image)))))
(defun shr-tag-pre (cont)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment