mirror of
https://github.com/kennethreitz-archive/gitx.git
synced 2026-06-05 23:40:18 +00:00
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:
@@ -9,7 +9,7 @@ var showNewFile = function(file)
|
||||
return;
|
||||
}
|
||||
|
||||
diff.innerHTML = contents.escapeHTML();
|
||||
diff.innerHTML = "<pre>" + contents.escapeHTML() + "</pre>";
|
||||
diff.style.display = '';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user