From 3bd777f61acad954eb8ec6b68b32e1a35f1054b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emmanuel=20Lepage=20Vall=C3=A9e?= Date: Thu, 5 Mar 2020 01:38:27 -0500 Subject: [PATCH] Revert "naughty.widget: xml_escape message and title text" --- lib/naughty/widget/message.lua | 3 +-- lib/naughty/widget/title.lua | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/naughty/widget/message.lua b/lib/naughty/widget/message.lua index e268fb53..c9f31fb7 100644 --- a/lib/naughty/widget/message.lua +++ b/lib/naughty/widget/message.lua @@ -16,13 +16,12 @@ ---------------------------------------------------------------------------- local textbox = require("wibox.widget.textbox") local gtable = require("gears.table") -local gstring = require("gears.string") local beautiful = require("beautiful") local message = {} local function markup(notif, wdg) - local ret = gstring.xml_escape(notif.message) or "" + local ret = notif.message or "" local fg = notif.fg or beautiful.notification_fg wdg:set_font(notif.font or beautiful.notification_font) diff --git a/lib/naughty/widget/title.lua b/lib/naughty/widget/title.lua index 22c62ad4..38ce7327 100644 --- a/lib/naughty/widget/title.lua +++ b/lib/naughty/widget/title.lua @@ -16,13 +16,12 @@ ---------------------------------------------------------------------------- local textbox = require("wibox.widget.textbox") local gtable = require("gears.table") -local gstring = require("gears.string") local beautiful = require("beautiful") local title = {} local function markup(notif, wdg) - local ret = ""..(gstring.xml_escape(notif.title) or "").."" + local ret = ""..(notif.title or "").."" local fg = notif.fg or beautiful.notification_fg wdg:set_font(notif.font or beautiful.notification_font)