From ee5b712a37eb716e859f61dcc728897d17f2421a Mon Sep 17 00:00:00 2001 From: Philipp Kunz Date: Mon, 10 Apr 2023 00:17:38 +0200 Subject: [PATCH] fix(core): update --- ts_web/00_commitinfo_data.ts | 2 +- ts_web/elements/dees-dataview-codebox.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ts_web/00_commitinfo_data.ts b/ts_web/00_commitinfo_data.ts index 60363ac..a9a806f 100644 --- a/ts_web/00_commitinfo_data.ts +++ b/ts_web/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@designestate/dees-catalog', - version: '1.0.165', + version: '1.0.166', description: 'website for lossless.com' } diff --git a/ts_web/elements/dees-dataview-codebox.ts b/ts_web/elements/dees-dataview-codebox.ts index 0a227bf..420c836 100644 --- a/ts_web/elements/dees-dataview-codebox.ts +++ b/ts_web/elements/dees-dataview-codebox.ts @@ -164,7 +164,7 @@ export class DeesDataviewCodebox extends DeesElement { } }); if (this.codeToDisplay && this.codeToDisplay !== this.codeToDisplayStore) { - this.codeToDisplayStore = smartstring.indent.normalize(this.codeToDisplay); + this.codeToDisplayStore = smartstring.indent.normalize(this.codeToDisplay).trimStart(); } if (slottedCodeNodes[0] && slottedCodeNodes[0].wholeText && !this.codeToDisplay) { this.codeToDisplayStore = smartstring.indent.normalize(slottedCodeNodes[0].wholeText);