aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Ingebrigtsen2017-07-23 15:22:48 +0200
committerLars Ingebrigtsen2017-07-23 15:23:14 +0200
commite33ddda3bfb134756ae1a706bf8ea218c7312f2d (patch)
tree72a033d1233998c065ad60f8cf0ec36f67a189a7
parent012487bc4188f812102ce0e431ad242cb1f65942 (diff)
downloademacs-e33ddda3bfb134756ae1a706bf8ea218c7312f2d.tar.gz
emacs-e33ddda3bfb134756ae1a706bf8ea218c7312f2d.zip
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.
-rw-r--r--lisp/net/shr.el2
1 files changed, 1 insertions, 1 deletions
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."
998 (create-image data nil t :ascent 100 998 (create-image data nil t :ascent 100
999 :format content-type)) 999 :format content-type))
1000 ((eq content-type 'image/svg+xml) 1000 ((eq content-type 'image/svg+xml)
1001 (create-image data 'imagemagick t :ascent 100)) 1001 (create-image data 'svg t :ascent 100))
1002 ((eq size 'full) 1002 ((eq size 'full)
1003 (ignore-errors 1003 (ignore-errors
1004 (shr-rescale-image data content-type 1004 (shr-rescale-image data content-type