We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8081fdd commit dcd1addCopy full SHA for dcd1add
packages/core/src/util/dom.ts
@@ -15,7 +15,7 @@ const COMMENT_DISALLOWED = /^>|^->|<!--|-->|--!>|<!-$/g;
15
/**
16
* Delimiter in the disallowed strings which needs to be wrapped with zero with character.
17
*/
18
-const COMMENT_DELIMITER = /(<|>)/;
+const COMMENT_DELIMITER = /(<|>)/g;
19
const COMMENT_DELIMITER_ESCAPED = '\u200B$1\u200B';
20
21
0 commit comments