diff --git a/modules/menus/notifications/notification/body/index.ts b/modules/menus/notifications/notification/body/index.ts index 62aac7a..dd566af 100644 --- a/modules/menus/notifications/notification/body/index.ts +++ b/modules/menus/notifications/notification/body/index.ts @@ -19,6 +19,8 @@ export const Body = (notif: Notification): BoxWidget => { wrap: true, class_name: 'notification-card-body-label menu', label: notif['body'], + }).on('realize', (self) => { + self.set_markup(notif['body']); }), ], }); diff --git a/modules/menus/notifications/notification/header/index.ts b/modules/menus/notifications/notification/header/index.ts index 1373ae3..70fe58c 100644 --- a/modules/menus/notifications/notification/header/index.ts +++ b/modules/menus/notifications/notification/header/index.ts @@ -35,6 +35,8 @@ export const Header = (notif: Notification): BoxWidget => { truncate: 'end', wrap: true, label: notif['summary'], + }).on('realize', (self) => { + self.set_markup(notif['summary']); }), ], }), diff --git a/modules/notifications/body/index.ts b/modules/notifications/body/index.ts index 92fa7a7..d6bc7fa 100644 --- a/modules/notifications/body/index.ts +++ b/modules/notifications/body/index.ts @@ -20,6 +20,8 @@ export const Body = (notif: Notification): Box => { wrap: true, class_name: 'notification-card-body-label', label: notif['body'], + }).on('realize', (self) => { + self.set_markup(notif['body']); }), ], }); diff --git a/modules/notifications/header/index.ts b/modules/notifications/header/index.ts index 71d038d..695291a 100644 --- a/modules/notifications/header/index.ts +++ b/modules/notifications/header/index.ts @@ -37,6 +37,8 @@ export const Header = (notif: Notification): Box => { truncate: 'end', wrap: true, label: notif['summary'], + }).on('realize', (self) => { + self.set_markup(notif['summary']); }), ], }),