Insert complete alt texts when images are disabled
* lisp/net/shr.el (shr-tag-img): When images are disabled, insert the complete alt/title string (bug#22293).
This commit is contained in:
parent
56ed4e1886
commit
a43a1dcc3d
1 changed files with 1 additions and 3 deletions
|
@ -1409,9 +1409,7 @@ The preference is a float determined from `shr-prefer-media-type'."
|
|||
(and shr-blocked-images
|
||||
(string-match shr-blocked-images url)))
|
||||
(setq shr-start (point))
|
||||
(if (> (string-width alt) 8)
|
||||
(shr-insert (truncate-string-to-width alt 8))
|
||||
(shr-insert alt)))
|
||||
(shr-insert alt))
|
||||
((and (not shr-ignore-cache)
|
||||
(url-is-cached (shr-encode-url url)))
|
||||
(funcall shr-put-image-function (shr-get-image-data url) alt))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue