fix: extra newline after tables

This commit is contained in:
Dylan R. E. Moonfire 2022-02-16 11:37:41 -06:00
parent 5c25b24720
commit f53405b55e
2 changed files with 2 additions and 0 deletions

View File

@ -70,6 +70,7 @@ namespace MfGames.Markdown.Gemini.Tests
"| 1 | 2 | 3 |",
"| 4 | 5 | 6 |",
"```",
"",
"");
string actual = MarkdownGemtext.ToGemtext(input, pipeline);

View File

@ -77,6 +77,7 @@ namespace MfGames.Markdown.Gemtext.Renderers.Gemtext.Blocks
if (!this.omitPreformat)
{
renderer.WriteLine("```");
renderer.WriteLine();
}
}