summaryrefslogtreecommitdiff
path: root/app/views/projects/commit/_commit_box.html.haml
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-10-14 19:27:23 +0200
committerDouwe Maan <douwe@gitlab.com>2015-10-14 19:28:09 +0200
commited41333a6ecbfcc04781a47a3dc71064c92d837b (patch)
tree5494ebea76f0191288a0adfed404745a3112bf75 /app/views/projects/commit/_commit_box.html.haml
parent4a5b77188ec7525d1c3a1ee925c8791f841b040c (diff)
downloadgitlab-ce-ed41333a6ecbfcc04781a47a3dc71064c92d837b.tar.gz
Use Gitlab::Markdown.render with :pipeline option rather than different methods
Diffstat (limited to 'app/views/projects/commit/_commit_box.html.haml')
-rw-r--r--app/views/projects/commit/_commit_box.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/commit/_commit_box.html.haml b/app/views/projects/commit/_commit_box.html.haml
index fbf0a9ec0c3..f3be1da8428 100644
--- a/app/views/projects/commit/_commit_box.html.haml
+++ b/app/views/projects/commit/_commit_box.html.haml
@@ -50,10 +50,10 @@
.commit-box.gray-content-block.middle-block
%h3.commit-title
- = gfm escape_once(@commit.title)
+ = markdown escape_once(@commit.title), pipeline: :single_line
- if @commit.description.present?
%pre.commit-description
- = preserve(gfm(escape_once(@commit.description)))
+ = preserve(markdown(escape_once(@commit.description), pipeline: :single_line))
:coffeescript
$(".commit-info-row.branches").load("#{branches_namespace_project_commit_path(@project.namespace, @project, @commit.id)}")