summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2015-06-26 00:16:21 -0400
committerRobert Speicher <rspeicher@gmail.com>2015-06-26 00:16:21 -0400
commit18982ade17eafa5427e9774e99719ee883281da7 (patch)
treeed2bc6a5681d4b14b1bb182ac37a05cadba8a8fa
parent8dd132f952466f86d51e0fe30cc005147c39b28a (diff)
downloadgitlab-ce-rs-pipeline-groups.tar.gz
Fix spec/features/gitlab_flavored_markdown_specrs-pipeline-groups
-rw-r--r--app/views/projects/commit/_commit_box.html.haml5
1 files changed, 3 insertions, 2 deletions
diff --git a/app/views/projects/commit/_commit_box.html.haml b/app/views/projects/commit/_commit_box.html.haml
index 4bfbbf73805..dbf95e953ab 100644
--- a/app/views/projects/commit/_commit_box.html.haml
+++ b/app/views/projects/commit/_commit_box.html.haml
@@ -43,10 +43,11 @@
.commit-box
%h3.commit-title
- = markdown(@commit.title, pipeline: :title)
+ -# FIXME (rspeicher): Everything about this says title, but sometimes it contains newlines?
+ = markdown(@commit.title, pipeline: :blob)
- if @commit.description.present?
.commit-description
- = preserve(markdown(@commit.description))
+ = markdown(@commit.description, pipeline: :blob)
:coffeescript
$(".commit-info-row.branches").load("#{branches_namespace_project_commit_path(@project.namespace, @project, @commit.id)}")