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);