]> git.eshelyaron.com Git - emacs.git/commit
Add default foreground colours to SVG images
authorLars Ingebrigtsen <larsi@gnus.org>
Sat, 14 Sep 2019 14:48:21 +0000 (16:48 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Sat, 14 Sep 2019 14:48:21 +0000 (16:48 +0200)
commit5a0ab88cc984e8a5e66f85cb5acfa362fc66bdb6
tree610a3ce904d493686bc621e90af4e813e3e4eaa0
parent568f1488a69e8cb0961571ff8f158df8891c3c44
Add default foreground colours to SVG images

* lisp/net/shr.el (svg--wrap-svg): Add a default foreground colour
to SVG images (bug#37159).  This helps with images like the ones
in https://en.wikipedia.org/wiki/Banach_fixed-point_theorem that
specify no foreground or background colours.
(shr-parse-image-data): Use it.
lisp/net/shr.el