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
This commit is contained in:
Pieter de Bie
2009-01-28 20:21:06 +00:00
parent b6693657d9
commit ab2ddd87cc
+1 -1
View File
@@ -9,7 +9,7 @@ var showNewFile = function(file)
return;
}
diff.innerHTML = contents.escapeHTML();
diff.innerHTML = "<pre>" + contents.escapeHTML() + "</pre>";
diff.style.display = '';
}