Use <pre> tag for commit message so that whitespace displays correctly

The contents of the commit message is inserted into the “#message” tag
directly.  If we use a <div> tag, then any whitespace in the commit
message will get collapsed down into a single space as HTML requires.
Since the CSS stylesheet calls for a monospaced font, it makes sense
to use a <pre> tag instead, so that whitespace will be preserved.
This commit is contained in:
Douglas Creager
2009-02-02 22:50:46 -05:00
committed by Johannes Gilger
parent e1f3a33a44
commit e5104b4069
+1 -1
View File
@@ -48,7 +48,7 @@
</div>
<hr>
<div id="message_files">
<div id="message"></div>
<pre id="message"></pre>
<div id="files"></div>
</div>