Permalink
Browse files

Replace new lines with breaks in primary view

  • Loading branch information...
1 parent fc10de3 commit 91ae25d506fc4ed98f6674e694bd0617f25065ce @Caged committed Mar 13, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 CommitsController.rb
View
2 CommitsController.rb
@@ -121,7 +121,7 @@ def select_latest_commit
def update_main_document
diffs = []
doc = @commit_details.mainFrame.DOMDocument
- set_html("message", active_commit.message)
+ set_html("message", active_commit.message.gsub("\n", "<br />"))
set_html("hash", active_commit.id)
if Time.now.day == active_commit.committed_date.day

0 comments on commit 91ae25d

Please sign in to comment.