added escaping of apostrophes

This commit is contained in:
Gamosoft 2026-01-18 10:43:20 +01:00
parent 8416a7b717
commit 666d2280d2
1 changed files with 1 additions and 0 deletions

View File

@ -1733,6 +1733,7 @@ function noteApp() {
return str
.replace(/&/g, '&')
.replace(/"/g, '"')
.replace(/'/g, ''')
.replace(/</g, '&lt;')
.replace(/>/g, '&gt;');
},