[Notification Jobs] Enforce plain text and escape HTML

Authored by broulik on May 11 2017, 10:12 AM.

Description

[Notification Jobs] Enforce plain text and escape HTML

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.

Differential Revision: https://phabricator.kde.org/D5706