added escaping of apostrophes
This commit is contained in:
parent
8416a7b717
commit
666d2280d2
|
|
@ -1733,6 +1733,7 @@ function noteApp() {
|
||||||
return str
|
return str
|
||||||
.replace(/&/g, '&')
|
.replace(/&/g, '&')
|
||||||
.replace(/"/g, '"')
|
.replace(/"/g, '"')
|
||||||
|
.replace(/'/g, ''')
|
||||||
.replace(/</g, '<')
|
.replace(/</g, '<')
|
||||||
.replace(/>/g, '>');
|
.replace(/>/g, '>');
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue