diff options
author | David Isaksson <davidisaksson93@gmail.com> | 2021-10-09 11:35:05 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-10-09 12:05:38 +0200 |
commit | 88eb7a634f5563fa9795fc6f450e13e86d97dc00 (patch) | |
tree | f57c6253e6f5c0f8771c4009c9ccb08ecf27d3e1 | |
parent | 741c871bc1c6fd37cd2030ecec8bb3e90de31ede (diff) | |
download | serenity-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.cpp | 1 |
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"); |