diff --git a/Userland/Libraries/LibMarkdown/CodeBlock.cpp b/Userland/Libraries/LibMarkdown/CodeBlock.cpp index de2bb0958b..58b5895f91 100644 --- a/Userland/Libraries/LibMarkdown/CodeBlock.cpp +++ b/Userland/Libraries/LibMarkdown/CodeBlock.cpp @@ -31,6 +31,8 @@ String CodeBlock::render_to_html() const String style_language = this->style_language(); Text::Style style = this->style(); + builder.append("
");
+
     if (style.strong)
         builder.append("");
     if (style.emph)
@@ -53,7 +55,7 @@ String CodeBlock::render_to_html() const
     if (style.strong)
         builder.append("");
 
-    builder.append('\n');
+    builder.append("
\n"); return builder.build(); }