diff --git a/src/AstAnalyser.js b/src/AstAnalyser.js index d95d0f7..5b31aed 100644 --- a/src/AstAnalyser.js +++ b/src/AstAnalyser.js @@ -124,6 +124,6 @@ export class AstAnalyser { * @returns {string} */ #removeHTMLComment(str) { - return str.replaceAll(/)/g, ""); + return str.replace(//g, ""); } }