naughty: escape title too
Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
parent
1df8e29772
commit
ff8b45b77a
|
@ -371,7 +371,7 @@ function notify(args)
|
|||
textbox.valign = "middle"
|
||||
|
||||
local function setText(pattern, replacements)
|
||||
textbox.text = string.format('<span font_desc="%s"><b>%s</b>%s</span>', font, title, text:gsub(pattern, replacements))
|
||||
textbox.text = string.format('<span font_desc="%s"><b>%s</b>%s</span>', font, title:gsub(pattern, replacements), text:gsub(pattern, replacements))
|
||||
end
|
||||
|
||||
-- First try to set the text while only interpreting <br>.
|
||||
|
|
Loading…
Reference in New Issue