mirror of
https://github.com/vale981/emacs-jupyter
synced 2025-03-05 07:41:37 -05:00
Fix svg image display
This commit is contained in:
parent
39382227e7
commit
3145453d93
1 changed files with 1 additions and 1 deletions
|
@ -614,7 +614,7 @@ When no valid mimetype is present in DATA, a warning is shown."
|
|||
(cl-destructuring-bind (&key width height)
|
||||
(plist-get metadata :image/svg+xml)
|
||||
(let* ((data (plist-get data :image/svg+xml))
|
||||
(img (create-image data 'svg nil :width width :height height)))
|
||||
(img (create-image data 'svg 'data :width width :height height)))
|
||||
(insert-image img (propertize " " 'read-only t)))))
|
||||
((memq :text/plain mimetypes)
|
||||
(jupyter-repl-insert-ansi-coded-text
|
||||
|
|
Loading…
Add table
Reference in a new issue