LibMarkdown: Have one newline between lists in terminal renders

Before this patch the markdown lists would have two space inbetween each
item. This patch removes one of these newlines for a nicer render.
This commit is contained in:
David Isaksson 2021-10-09 11:35:05 +02:00 committed by Andreas Kling
commit 88eb7a634f
Notes: sideshowbarker 2024-07-18 02:54:14 +09:00

View file

@ -48,7 +48,6 @@ String List::render_for_terminal(size_t) const
else
builder.append("* ");
builder.append(item->render_for_terminal());
builder.append("\n");
}
builder.append("\n");