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