marko 5.25.0 → 5.25.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -36,7 +36,7 @@ function State(root, stream, writer, events) {
36
36
  }
37
37
 
38
38
  function escapeEndingComment(text) {
39
- return text.replace(/-->/g, "-->");
39
+ return text.replace(/(--!?)>/g, "$1>");
40
40
  }
41
41
 
42
42
  function AsyncStream(global, writer, parentOut) {
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "marko",
3
- "version": "5.25.0",
3
+ "version": "5.25.1",
4
4
  "license": "MIT",
5
5
  "description": "UI Components + streaming, async, high performance, HTML templating for Node.js and the browser.",
6
6
  "dependencies": {
7
- "@marko/compiler": "^5.27.0",
8
- "@marko/translator-default": "^5.25.0",
7
+ "@marko/compiler": "^5.27.1",
8
+ "@marko/translator-default": "^5.25.1",
9
9
  "app-module-path": "^2.2.0",
10
10
  "argly": "^1.2.0",
11
11
  "browser-refresh-client": "1.1.4",
@@ -36,7 +36,7 @@ function State(root, stream, writer, events) {
36
36
  }
37
37
 
38
38
  function escapeEndingComment(text) {
39
- return text.replace(/-->/g, "-->");
39
+ return text.replace(/(--!?)>/g, "$1>");
40
40
  }
41
41
 
42
42
  function AsyncStream(global, writer, parentOut) {