Skip to content

Commit

Permalink
trim new lines
Browse files Browse the repository at this point in the history
  • Loading branch information
christian-bromann committed Oct 6, 2022
1 parent 557be38 commit ab783d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/extension/notebook.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export class Serializer implements vscode.NotebookSerializer {
}

if (s.content) {
const lines = s.content.toString()
const lines = s.content.toString().trim()
const cell = new vscode.NotebookCellData(
vscode.NotebookCellKind.Code,
lines,
Expand Down

0 comments on commit ab783d6

Please sign in to comment.