Add missing newline

Add missing newline

From 3b049175e50481c0d928c598374d59f9dec8db84 Mon Sep 17 00:00:00 2001
From: Sam <sam.saffron@gmail.com>
Date: Wed, 5 Dec 2018 18:28:09 +1100
Subject: [PATCH] Add missing newline


diff --git a/lib/discourse_code_review/importer.rb b/lib/discourse_code_review/importer.rb
index 4dad21c..4d5e624 100644
--- a/lib/discourse_code_review/importer.rb
+++ b/lib/discourse_code_review/importer.rb
@@ -42,7 +42,7 @@ module DiscourseCodeReview
       # we add a unicode zero width joiner so code block is not corrupted
       diff = commit[:diff].gsub('`‍``', "`\u200d``")
 
-      raw = "<div class='excerpt'>#{commit[:body]}\n</div>\n\n`‍``diff\n#{diff}\n`‍``\n#{link}"
+      raw = "<div class='excerpt'>\n#{commit[:body]}\n</div>\n\n`‍``diff\n#{diff}\n`‍``\n#{link}"
 
       user = ensure_user(
         email: commit[:email],

GitHub

1 Like