menu: do not double escape name in 'menu:clients()' (FS#1202)
Label of menu entries will be escaped automatically. Doing it manually in menu:clients() will escape it it twice. Patch removes the util.escape() call in menu:clients() Signed-off-by: Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
parent
9723f23f26
commit
77e92e17a1
|
@ -463,7 +463,7 @@ function menu:clients(args) -- FIXME crude api
|
|||
local cls_t = {}
|
||||
for k, c in pairs(cls) do
|
||||
cls_t[#cls_t + 1] = {
|
||||
util.escape(c.name) or "",
|
||||
c.name or "",
|
||||
function ()
|
||||
if not c:isvisible() then
|
||||
tags.viewmore(c:tags(), c.screen)
|
||||
|
|
Loading…
Reference in New Issue