From 3e284c2404ffc7ae37c1465efa0fdf303cb96f12 Mon Sep 17 00:00:00 2001 From: Kai Uwe Broulik Date: Mon, 28 Aug 2017 16:51:22 +0200 Subject: [PATCH] HTML-escape applet name in undo notification --- src/plasma/private/applet_p.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plasma/private/applet_p.cpp b/src/plasma/private/applet_p.cpp index fd2bc8bfb..6d4f7b883 100644 --- a/src/plasma/private/applet_p.cpp +++ b/src/plasma/private/applet_p.cpp @@ -279,7 +279,7 @@ void AppletPrivate::askDestroy() if (!q->isContainment()) { deleteNotification->setTitle(i18n("Widget Removed")); - deleteNotification->setText(i18n("The widget \"%1\" has been removed.", q->title())); + deleteNotification->setText(i18n("The widget \"%1\" has been removed.", q->title().toHtmlEscaped())); } else if (asContainment && (asContainment->containmentType() == Types::PanelContainment || asContainment->containmentType() == Types::CustomPanelContainment)) { deleteNotification->setTitle(i18n("Panel Removed")); deleteNotification->setText(i18n("A panel has been removed."));