awesome/lib
Uli Schlachter 5487906487 Naughty: Catch invalid markup in notifications
Previously, an invalid markup caused an empty popup. Since the C core now throws
a lua error on invalid markup, we have a way to notice that something is wrong.

This patch first tries to set the notification's text the same way we did
previously. If that fails, everything is escaped and the result is used as the
text for the notification.

Thanks to farhaven/Gregor Best for the initial version of this and for the
string.gsub() call I stole from him. :)

Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-07-16 19:40:08 +02:00
..
awful Update the tasklist when a client's icon changes 2010-06-14 20:05:53 +02:00
beautiful.lua.in Revert "beautiful: init default theme by default" and "awesomerc: stop handling beautiful" 2009-09-28 13:43:49 +02:00
naughty.lua.in Naughty: Catch invalid markup in notifications 2010-07-16 19:40:08 +02:00