💥 fix(ags/notifications): replace '&' with '&' on notification widget(pango markup thing), fix spacing

This commit is contained in:
retrozinndev
2025-03-12 15:13:23 -03:00
parent f0cec3ff84
commit aff51fb7cf
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -93,7 +93,7 @@ export function NotificationWidget(notification: AstalNotifd.Notification|number
useMarkup: true,
xalign: 0,
truncate: true,
label: notification.summary
label: notification.summary.replace(/\&/g, "&")
}),
new Widget.Label({
className: "body",
@@ -103,7 +103,7 @@ export function NotificationWidget(notification: AstalNotifd.Notification|number
truncate: false,
wrap: true,
wrapMode: Pango.WrapMode.WORD,
label: notification.body
label: notification.body.replace(/\&/g, "&")
} as Widget.LabelProps)
]
} as Widget.BoxProps)