Skip to content

Commit

Permalink
Add missing newline
Browse files Browse the repository at this point in the history
  • Loading branch information
SamSaffron committed Dec 5, 2018
1 parent f106b62 commit 3b04917
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/discourse_code_review/importer.rb
Expand Up @@ -42,7 +42,7 @@ def import_commit(commit)
# 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],
Expand Down

0 comments on commit 3b04917

Please sign in to comment.