Skip to content
This repository was archived by the owner on Jan 20, 2022. It is now read-only.

Commit bab82b2

Browse files
committed
fix: Table directly after list breaks on reload
closes #329
1 parent 410c639 commit bab82b2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/lib/markdown/serializer.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,9 @@ export class MarkdownSerializerState {
307307
const prevTable = this.inTable;
308308
this.inTable = true;
309309

310+
// ensure there is an empty newline above all tables
311+
this.out += "\n";
312+
310313
// rows
311314
node.forEach((row, _, i) => {
312315
if (headerBuffer) {

0 commit comments

Comments
 (0)