change regex once again
This commit is contained in:
parent
9f5b3d1aca
commit
ff43510f2f
@ -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 = {
|
||||||
'&': '&',
|
'&': '&',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user