fix error when trying to output to non existing element

This commit is contained in:
Fabio Pliger
2022-04-18 23:10:41 -05:00
parent a6955b170a
commit 3c2ca6d68c
5 changed files with 6 additions and 6 deletions

View File

@@ -247,7 +247,7 @@ export class PyScript extends BaseEvalElement {
}
getSourceFromElement(): string {
return this.code;
return htmlDecode(this.code);
}
}