text = text:gsub("\e%[7m","<b><span "
.. "foreground='"..calendar.bg .. "' "
.. "background='"..calendar.fg .. "'>")
- text = text:gsub("\e%[27m", "</span></b>")
+ text = text:gsub("\e%[0m", "</span></b>")
cal_notification = naughty.notify({
text = text,