See https://www.woltlab.com/community/thread/298815-desktopbenachrichtigungen-stellen-apostroph-nicht-korrekt-dar/
notification = new window.Notification(pollData.notification.title, {
body: StringUtil.unescapeHTML(pollData.notification.message)
.replace(/ /g, "\u202F")
- .replace(/'/g, "'"),
+ .replace(/'/g, "'"),
icon: this.icon,
});
} catch (e) {
notification = new window.Notification(pollData.notification.title, {
body: StringUtil.unescapeHTML(pollData.notification.message)
.replace(/ /g, "\u202F")
- .replace(/'/g, "'"),
+ .replace(/'/g, "'"),
icon: this.icon,
});
}