We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 442af7b commit e62d8dbCopy full SHA for e62d8db
pyscriptjs/src/utils.ts
@@ -9,8 +9,8 @@ const getLastPath = function (str) {
9
};
10
11
function htmlDecode(input) {
12
- const doc = new DOMParser().parseFromString(input, 'text/html');
13
- return ltrim(doc.documentElement.textContent);
+ const doc = new DOMParser().parseFromString(ltrim(input), 'text/html');
+ return doc.documentElement.textContent;
14
}
15
16
function ltrim(code: string): string {
0 commit comments