]> git.eshelyaron.com Git - emacs.git/commit
Treat SVG images like other image types in 'shr-put-image'
authorJim Porter <jporterbugs@gmail.com>
Thu, 11 Jul 2024 23:29:37 +0000 (16:29 -0700)
committerEshel Yaron <me@eshelyaron.com>
Sat, 13 Jul 2024 20:07:48 +0000 (22:07 +0200)
commit4fac180b7bd7d25ce03f4ba052536b080d9716c0
tree6f1616767da048a60360a173a88dc3a4b162eb18
parent82e9a485c5438543a5415ae4c1d870a30d17f605
Treat SVG images like other image types in 'shr-put-image'

For both SVG and no-SVG builds, this works as expected (in the no-SVG
case, it would raise an error which subsequently gets ignored).
However, compared to the previous implementation, this lets users resize
SVG images just like every other image type (bug#71913).

* lisp/net/shr.el (shr-put-image): Don't special-case SVGs.

(cherry picked from commit f38c42d1c7a8413f63b1e56261850d3dbe8abef8)
lisp/net/shr.el