Commit 35408b1a authored by Adam Sjøgren's avatar Adam Sjøgren Committed by Lars Ingebrigtsen
Browse files

* net/shr.el (shr-tag-img): Prefer the title over the alt text.

Fixes: debbugs:16537
parent c13b1a2d
2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
* net/shr.el (shr-tag-img): Prefer the title over the alt text
(bug#16537).
2014-01-24 Juanma Barranquero <lekktu@gmail.com>
* net/eww.el (eww-download-callback):
......
......@@ -1228,7 +1228,9 @@ The preference is a float determined from `shr-prefer-media-type'."
(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))
(put-text-property start (point) 'help-echo
(or (cdr (assq :title cont))
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