@abaplint/runtime 2.7.94 → 2.7.95

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -28,6 +28,10 @@ function escape(input) {
28
28
  case 12: // e_url
29
29
  val = encodeURI(val);
30
30
  break;
31
+ case 8: // e_html_js
32
+ val = val.replace(/"/g, "\\\"");
33
+ val = val.replace(/'/g, "\\'");
34
+ break;
31
35
  case 24: // e_json_string
32
36
  val = val.replace(/"/g, "\\\"");
33
37
  val = val.replace(/\n/g, "\\n");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/runtime",
3
- "version": "2.7.94",
3
+ "version": "2.7.95",
4
4
  "description": "Transpiler - Runtime",
5
5
  "main": "build/src/index.js",
6
6
  "typings": "build/src/index.d.ts",