THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY. The following task has a new comment added:
FS#765 - clean/escape unknown tags from notifications User who did this - Roman Kosenko (kite) ---------- I'm attaching patch that's allow user to define function in his local rc.lua that will be used for transformation notification text in custom presets. I think this is right solution, because awesome is "framework WM". ;) Also it contains a lot of fixes I mentioned above. P.S. Example of use for Kopete: naughty.config.presets.message = { position = "top_left", timeout = 0, font = "Verdana 12", fg = "#ffffff", bg = "#110e0e", border_color = "#535d6c", opacity = 0.85, transform = function(text) return text:gsub("</?html>", ""):gsub("</?qt>", ""):gsub("(</?)font([ >])", "%1span%2"):gsub("<small>(<span[^>]*)(%b><)(/small></span>)", "%1><small%2%3"):gsub("<a [^>]+>([^<]*)</a>", "%1"):gsub("<([%w_%.%...@[%w%.%-]+)>", "<%1>") end, max_icon_size = 48 } naughty.config.mapping = awful.util.table.join({ {{appname = "Kopete Messenger"}, naughty.config.presets.message}, }, naughty.config.mapping) ---------- One or more files have been attached. More information can be found at the following URL: http://awesome.naquadah.org/bugs/index.php?do=details&task_id=765#comment2383 You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above. -- To unsubscribe, send mail to awesome-devel-unsubscr...@naquadah.org.