summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Isaksson <davidisaksson93@gmail.com>2021-10-09 11:35:05 +0200
committerAndreas Kling <kling@serenityos.org>2021-10-09 12:05:38 +0200
commit88eb7a634f5563fa9795fc6f450e13e86d97dc00 (patch)
treef57c6253e6f5c0f8771c4009c9ccb08ecf27d3e1
parent741c871bc1c6fd37cd2030ecec8bb3e90de31ede (diff)
downloadserenity-88eb7a634f5563fa9795fc6f450e13e86d97dc00.zip
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.
-rw-r--r--Userland/Libraries/LibMarkdown/List.cpp1
1 files changed, 0 insertions, 1 deletions
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");