D5612: [Notification Jobs] Enforce plain text and escape HTML
Kai Uwe Broulik
noreply at phabricator.kde.org
Thu Apr 27 10:22:05 UTC 2017
broulik created this revision.
Restricted Application added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.
QtQuick Text auto-interprets HTML tags when it finds them, this can lead to unexpected results if a file is named e.g. `<h1>foo</h1>`.
Since notifications do interpret HTML tags by design, we manually escape them there.
Copied a file `<h1>foo</h1>` and no longer got huge text in summary, details, and finish popup. Verified that speed and ETA label still works.
R120 Plasma Workspace
To: broulik, #plasma
Cc: plasma-devel, spstarr, progwolff, Zren, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, lukas
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Plasma-devel