Fix issue with unescaped entities in notifications