From ab2ddd87cc4769dca03526432aa0654aa3e98e7e Mon Sep 17 00:00:00 2001 From: Pieter de Bie Date: Wed, 28 Jan 2009 20:21:06 +0000 Subject: [PATCH] CommitView: Show linebreaks with new files Just before releasing 0.6, I cleaned up some old code. In c6895105e2 (Remove old code in Commit/Diff views), I removed some pre and code tags, causing new files in the commit view to be displayed without line breaks --- html/views/commit/commit.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/views/commit/commit.js b/html/views/commit/commit.js index b711d43..4143540 100644 --- a/html/views/commit/commit.js +++ b/html/views/commit/commit.js @@ -9,7 +9,7 @@ var showNewFile = function(file) return; } - diff.innerHTML = contents.escapeHTML(); + diff.innerHTML = "
" + contents.escapeHTML() + "
"; diff.style.display = ''; }