[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Emacs-diffs] master f2da80d: Ignore invalid base64 encoded embedded
From: |
Lars Magne Ingebrigtsen |
Subject: |
Re: [Emacs-diffs] master f2da80d: Ignore invalid base64 encoded embedded images |
Date: |
Sun, 20 Mar 2016 14:49:32 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
Stefan Monnier <address@hidden> writes:
>> + (setq payload (ignore-errors
>> + (base64-decode-string payload))))
>
> How 'bout with-demoted-errors?
I don't think the user cares that much -- if an image fails (whether to
downloading or being invalid), then eww should just continue signal that
in the document itself (with a broken image icon or the like). But
messaging is too much chatter.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no