From 88eb7a634f5563fa9795fc6f450e13e86d97dc00 Mon Sep 17 00:00:00 2001 From: David Isaksson Date: Sat, 9 Oct 2021 11:35:05 +0200 Subject: [PATCH] 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. --- Userland/Libraries/LibMarkdown/List.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/Userland/Libraries/LibMarkdown/List.cpp b/Userland/Libraries/LibMarkdown/List.cpp index 5308ec4b47..3e2b63a4df 100644 --- a/Userland/Libraries/LibMarkdown/List.cpp +++ b/Userland/Libraries/LibMarkdown/List.cpp @@ -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");