From ff8b45b77a17029ee06494a1b819f278f5f035b5 Mon Sep 17 00:00:00 2001 From: Radu Andries Date: Sun, 1 May 2011 15:10:03 +0200 Subject: [PATCH] naughty: escape title too Signed-off-by: Uli Schlachter --- lib/naughty.lua.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/naughty.lua.in b/lib/naughty.lua.in index 88475aa6..b3e04c43 100644 --- a/lib/naughty.lua.in +++ b/lib/naughty.lua.in @@ -371,7 +371,7 @@ function notify(args) textbox.valign = "middle" local function setText(pattern, replacements) - textbox.text = string.format('%s%s', font, title, text:gsub(pattern, replacements)) + textbox.text = string.format('%s%s', font, title:gsub(pattern, replacements), text:gsub(pattern, replacements)) end -- First try to set the text while only interpreting
.