浏览代码

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.
David Isaksson 3 年之前
父节点
当前提交
88eb7a634f
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      Userland/Libraries/LibMarkdown/List.cpp

+ 0 - 1
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");