Fix image/svg+xml display in shr
* lisp/net/shr.el (shr-put-image): Display svg images as svg (bug#27799). I suspect the previous change was checked in by accident in conjuction with some other svg changes.
This commit is contained in:
parent
012487bc41
commit
e33ddda3bf
1 changed files with 1 additions and 1 deletions
|
@ -998,7 +998,7 @@ element is the data blob and the second element is the content-type."
|
|||
(create-image data nil t :ascent 100
|
||||
:format content-type))
|
||||
((eq content-type 'image/svg+xml)
|
||||
(create-image data 'imagemagick t :ascent 100))
|
||||
(create-image data 'svg t :ascent 100))
|
||||
((eq size 'full)
|
||||
(ignore-errors
|
||||
(shr-rescale-image data content-type
|
||||
|
|
Loading…
Add table
Reference in a new issue