diff --git a/lib/naughty/widget/_markup.lua b/lib/naughty/widget/_markup.lua index 3077c02b..0a3fcfdd 100644 --- a/lib/naughty/widget/_markup.lua +++ b/lib/naughty/widget/_markup.lua @@ -9,7 +9,7 @@ local escape_pattern = "[<>&]" local escape_subs = { ['<'] = "<", ['>'] = ">", ['&'] = "&" } -- Also reverse escaping some allowed tags because people actually use them. -local escape_undo = {['<span '] = ""} for _, allowed in ipairs {'b', 'i', 'u', 'span'} do escape_undo['<' ..allowed..'>'] = "<" ..allowed..">"