diff --git a/web_notify/static/src/js/services/notification_services.esm.js b/web_notify/static/src/js/services/notification_services.esm.js index ee60463fd..d364150a1 100644 --- a/web_notify/static/src/js/services/notification_services.esm.js +++ b/web_notify/static/src/js/services/notification_services.esm.js @@ -1,4 +1,5 @@ /** @odoo-module **/ +import {Markup} from "web.utils"; import {browser} from "@web/core/browser/browser"; import {registry} from "@web/core/registry"; @@ -19,7 +20,7 @@ export const webNotificationService = { notifications.forEach(function (notif) { browser.setTimeout(function () { - notification.add(notif.message, { + notification.add(Markup(notif.message), { title: notif.title, type: notif.type, sticky: notif.sticky,