diff --git a/js/htmlescape.js b/js/htmlescape.js index 6b6d9d7..2e2227c 100644 --- a/js/htmlescape.js +++ b/js/htmlescape.js @@ -1,7 +1,7 @@ const {replace} = ''; -const es = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|\\\\|`);/g; -const ca = /[&<>'"\\\\`]/g; +const es = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34);/gi; +const ca = /[&<>'"]/g; const esca = { '&': '&',