Skip to content

The last empty in code block disappear #1265

@deathrush

Description

@deathrush

Versions

Step 1: write test file bellow:

### test file

\```js
const a = 'b'

\```

there is an empty after `const a = 'b'`

Step 2: change to source code mode and change back.

Expect

Last blank line is reserved

Actually

The last line disappear

  • Mark Text: 0.15.0
  • Operating system: Windows 7

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions