change regex once again

This commit is contained in:
Mystikfluu 2022-07-03 23:26:08 +02:00
parent 9f5b3d1aca
commit ff43510f2f

View File

@ -1,7 +1,7 @@
const {replace} = ''; const {replace} = '';
const es = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|\\\\|`);/g; const es = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34);/gi;
const ca = /[&<>'"\\\\`]/g; const ca = /[&<>'"]/g;
const esca = { const esca = {
'&': '&amp;', '&': '&amp;',