diff --git a/lib/awful/hotkeys_popup/widget.lua b/lib/awful/hotkeys_popup/widget.lua index 3b68b70c..2dfba1cf 100644 --- a/lib/awful/hotkeys_popup/widget.lua +++ b/lib/awful/hotkeys_popup/widget.lua @@ -475,7 +475,7 @@ function widget.new(args) table.insert(((i 1 then for each_key_idx, each_key in ipairs(key.keylist) do - key_label = key_label .. each_key + key_label = key_label .. gstring.xml_escape(each_key) if each_key_idx ~= #key.keylist then key_label = key_label .. markup.fg(self.modifiers_fg, '/') end end elseif key.key then - key_label = key.key + key_label = gstring.xml_escape(key.key) end local rendered_hotkey = markup.font(self.font, modifiers .. key_label .. " "