GNU bug report logs -
#24111
25.1.50; SVG image displayed incorrectly in EWW
Previous Next
Reported by: Wouter Beek <wouter <at> triply.cc>
Date: Sat, 30 Jul 2016 06:11:01 UTC
Severity: normal
Tags: fixed
Found in version 25.1.50
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Wouter Beek <wouter <at> triply.cc> writes:
> The web page opens directly above an inline SVG image that is displayed
> incorrecly: only the lines of the tree structure are shown; the nodes of
> the tree are not displayed, nor is their textual content.
It's due to this code:
;; SVG images may contain references to further images that we may
;; want to block. So special-case these by parsing the XML data
;; and remove the blocked bits.
(when (eq content-type 'image/svg+xml)
(setq data
(shr-dom-to-xml
(libxml-parse-xml-region (point) (point-max)))))
Which should probably not be run when we're not in "restricted" mode,
i.e. in mail readers and the like. I'll disable it for normal eww usage.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
This bug report was last modified 8 years and 198 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.