Linux notifications: Don't escape double- or single-quote characters
This commit is contained in:
parent
fd6834588c
commit
e30f633c95
1 changed files with 0 additions and 2 deletions
|
@ -392,8 +392,6 @@ export const notificationService = new NotificationService();
|
||||||
function filterNotificationText(text: string) {
|
function filterNotificationText(text: string) {
|
||||||
return (text || '')
|
return (text || '')
|
||||||
.replace(/&/g, '&')
|
.replace(/&/g, '&')
|
||||||
.replace(/"/g, '"')
|
|
||||||
.replace(/'/g, ''')
|
|
||||||
.replace(/</g, '<')
|
.replace(/</g, '<')
|
||||||
.replace(/>/g, '>');
|
.replace(/>/g, '>');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue