* net/shr.el (shr-tag-img): Prefer the title over the alt text.
Fixes: debbugs:16537
This commit is contained in:
parent
c13b1a2dbf
commit
35408b1a6c
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
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)
|
||||
|
|
Loading…
Add table
Reference in a new issue