emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master e33ddda: Fix image/svg+xml display in shr


From: Lars Ingebrigtsen
Subject: [Emacs-diffs] master e33ddda: Fix image/svg+xml display in shr
Date: Sun, 23 Jul 2017 09:23:19 -0400 (EDT)

branch: master
commit e33ddda3bfb134756ae1a706bf8ea218c7312f2d
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>

    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.
---
 lisp/net/shr.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/net/shr.el b/lisp/net/shr.el
index 4d4e8a8..2f73f98 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]