D6673: [Notifications] Manually remove remote images
Albert Astals Cid
noreply at phabricator.kde.org
Sun Jan 28 00:49:34 UTC 2018
aacid added a comment.
In https://phabricator.kde.org/D6673#197138, @broulik wrote:
> > should just filter out everything other than b i u a and img with local src
>
> Sure, but how would you achieve this? Regular expressions aren't suitable for HTML. It's not like I went this overly complicated way for no reason.
By doing something similar to what https://cgit.kde.org/knotifications.git/tree/src/notifybypopup.cpp#n790 does?
This wold fail with "invalid but parseable" html, but i guess we don't really care about it either, no?
REPOSITORY
R120 Plasma Workspace
REVISION DETAIL
https://phabricator.kde.org/D6673
To: broulik, #plasma, fvogt
Cc: aacid, davidedmundson, plasma-devel, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20180128/b0bbd6db/attachment.html>
More information about the Plasma-devel
mailing list