awesome/lib
Ross Lagerwall fc49e28025 naughty: Don't interpret markup in titles
Since only the body text of a notification may contain markup,
by combining the two together and calling set_markup(), the
title would also get interpreted as if it had markup.
This could be seen with:
$ notify-send "Title & text" "<i>body text</i>"

The unescaped & would get interpreted as broken markup and so
naughty would fall back to escaping everything which would make
the "<i>" tags be shown rather than interpreted.

So, the title must always be escaped so that it is not interpreted
as markup.

Signed-off-by: Ross Lagerwall <rosslagerwall@gmail.com>
Signed-off-by: Uli Schlachter <psychon@znc.in>
2013-03-26 10:17:51 +01:00
..
awful Fix calculation of distance between clients 2013-03-21 15:11:35 +01:00
gears gears.wallpaper: Create smaller image surface (FS#1087) 2013-02-12 15:15:16 +01:00
menubar menubar: Treat KP_Enter as pressing Enter (FS#1072) 2013-01-10 17:01:41 +01:00
wibox Fix wibox.layout.flex:fit() (FS#1126) 2013-03-24 22:32:53 +01:00
beautiful.lua.in Fix errors from missing themes 2012-11-27 22:55:42 +01:00
naughty.lua.in naughty: Don't interpret markup in titles 2013-03-26 10:17:51 +01:00