bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#24111: 25.1.50; SVG image displayed incorrectly in EWW


From: Lars Ingebrigtsen
Subject: bug#24111: 25.1.50; SVG image displayed incorrectly in EWW
Date: Tue, 24 Jan 2017 22:15:54 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

Wouter Beek <address@hidden> 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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]