1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 20:27:45 +00:00

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
parent 741c871bc1
commit 88eb7a634f

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");