naughty: escape title too
Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
parent
82921ef57b
commit
97709a4b3e
|
@ -371,7 +371,7 @@ function notify(args)
|
|||
textbox:set_font(font)
|
||||
|
||||
local function setMarkup(pattern, replacements)
|
||||
textbox:set_markup(string.format('<b>%s</b>%s', title, text:gsub(pattern, replacements)))
|
||||
textbox:set_markup(string.format('<b>%s</b>%s', title:gsub(pattern, replacements), text:gsub(pattern, replacements)))
|
||||
end
|
||||
local function setText()
|
||||
textbox:set_text(string.format('%s %s', title, text))
|
||||
|
|
Loading…
Reference in New Issue