Skip to content

Commit 91b8c9c

Browse files
committed
fix-bug-with-double-quotes
1 parent ec932f1 commit 91b8c9c

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

Diff for: package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "scanoss",
3-
"version": "0.10.0",
3+
"version": "0.10.1",
44
"description": "The SCANOSS JS package provides a simple, easy to consume module for interacting with SCANOSS APIs/Engine.",
55
"main": "build/main/index.js",
66
"typings": "build/main/index.d.ts",

Diff for: src/sdk/Report/Report.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,9 @@ export class Report {
4242
);
4343
this.report = html.replace(
4444
this.dataPlaceholder,
45-
JSON.stringify(this.dataLayer)
45+
JSON.stringify(this.dataLayer).replace(/\\\"/g, '\\\\u0022')
4646
);
47+
4748
return this.report;
4849
}
4950

0 commit comments

Comments
 (0)