mirror of
https://github.com/pyscript/pyscript.git
synced 2025-12-19 18:27:29 -05:00
fix error when trying to output to non existing element
This commit is contained in:
@@ -247,7 +247,7 @@ export class PyScript extends BaseEvalElement {
|
||||
}
|
||||
|
||||
getSourceFromElement(): string {
|
||||
return this.code;
|
||||
return htmlDecode(this.code);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user