From: Lars Ingebrigtsen Date: Sun, 23 Jul 2017 13:22:48 +0000 (+0200) Subject: Fix image/svg+xml display in shr X-Git-Tag: emacs-26.0.90~518^2~16 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e33ddda3bfb134756ae1a706bf8ea218c7312f2d;p=emacs.git 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. --- diff --git a/lisp/net/shr.el b/lisp/net/shr.el index 4d4e8a809e1..2f73f982af9 100644 --- a/lisp/net/shr.el +++ b/lisp/net/shr.el @@ -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