Linux notifications: Don't escape double- or single-quote characters

This commit is contained in:
Scott Nonnenberg 2023-02-03 18:30:52 -08:00 committed by GitHub
parent fd6834588c
commit e30f633c95
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -392,8 +392,6 @@ export const notificationService = new NotificationService();
function filterNotificationText(text: string) {
return (text || '')
.replace(/&/g, '&')
.replace(/"/g, '"')
.replace(/'/g, ''')
.replace(/</g, '&lt;')
.replace(/>/g, '&gt;');
}