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)