This commit is contained in:
Vokhmin Alexey V 2015-02-05 01:56:30 +03:00
parent 898321d18b
commit 41ae2078bd
2 changed files with 0 additions and 3 deletions

View File

@ -108,7 +108,5 @@ class GitPresenters::CommitAsMessagePresenter < ApplicationPresenter
@content = (@content.present?) ? tmp + @content : tmp
@caption = @caption[0..68] + '...'
end
# @content = @content.gsub("\n", "<br />").html_safe if @content
# @content = simple_format(@content, {}, sanitize: true).html_safe if @content
end
end

View File

@ -12,5 +12,4 @@
.clearfix
- if presenter.content?
.collapse id="commit_message_#{item_no}"
/ pre== markdown(presenter.content)
.well.well-sm== markdown(presenter.content)