From 710e06b2f1b16a7291c693f19fd8d60fc7c2c279 Mon Sep 17 00:00:00 2001 From: Philipp Kunz Date: Mon, 10 Apr 2023 00:18:16 +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 a9a806f..29bb202 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.166', + version: '1.0.167', description: 'website for lossless.com' } diff --git a/ts_web/elements/dees-dataview-codebox.ts b/ts_web/elements/dees-dataview-codebox.ts index 420c836..ab9c87b 100644 --- a/ts_web/elements/dees-dataview-codebox.ts +++ b/ts_web/elements/dees-dataview-codebox.ts @@ -167,7 +167,7 @@ export class DeesDataviewCodebox extends DeesElement { this.codeToDisplayStore = smartstring.indent.normalize(this.codeToDisplay).trimStart(); } if (slottedCodeNodes[0] && slottedCodeNodes[0].wholeText && !this.codeToDisplay) { - this.codeToDisplayStore = smartstring.indent.normalize(slottedCodeNodes[0].wholeText); + this.codeToDisplayStore = smartstring.indent.normalize(slottedCodeNodes[0].wholeText).trimStart(); this.codeToDisplay = this.codeToDisplayStore; } await domtools.plugins.smartdelay.delayFor(0);