diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-10-14 19:27:23 +0200 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-10-14 19:28:09 +0200 |
commit | ed41333a6ecbfcc04781a47a3dc71064c92d837b (patch) | |
tree | 5494ebea76f0191288a0adfed404745a3112bf75 /app/views/projects/commit/_commit_box.html.haml | |
parent | 4a5b77188ec7525d1c3a1ee925c8791f841b040c (diff) | |
download | gitlab-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.haml | 4 |
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)}") |