Skip to content

Commit 3288f5b

Browse files
committed
Make linter happy
1 parent e12855b commit 3288f5b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/compiler/emitter.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7221,9 +7221,9 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, Promi
72217221
// Replace entities like  
72227222
result = result.replace(/&(\w+);/g, function(s: any, m: string) {
72237223
if (entities[m] !== undefined) {
7224-
let ch = String.fromCharCode(entities[m]);
7224+
const ch = String.fromCharCode(entities[m]);
72257225
// " needs to be escaped
7226-
return ch === '"' ? '\\"' : ch;
7226+
return ch === "\"" ? "\\\"" : ch;
72277227
}
72287228
else {
72297229
return s;

0 commit comments

Comments
 (0)