diff --git a/javascript/engine-js/src/view/TokenViewData.ts b/javascript/engine-js/src/view/TokenViewData.ts index 5be27d4e..8756342e 100644 --- a/javascript/engine-js/src/view/TokenViewData.ts +++ b/javascript/engine-js/src/view/TokenViewData.ts @@ -59,7 +59,7 @@ export class TokenViewData { const walletAdapter = await this.tokenScript.getEngine().getWalletAdapter(); - const currentTokenInstance = JSON.parse(`${JSON.stringify(tokenData).replace("^\\'", "\\'").replace(/[\u0000-\u001F]/g, "")}`); + const currentTokenInstance = JSON.parse(`${JSON.stringify(tokenData).replace("^\\'", "\\'")}`); return `