This repository has been archived by the owner on Jan 31, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Wrap all logged stream content with <pre>. This allows TABs to work as expected, so this commit stops converting TABs to "escape" sequences. It also means that we don't have to: - Convert spaces to . - Convert newlines to<br/>. - Manually check whether the last line of a stream ended with a newline or not in order to prevent the next "heading" from merging with the previous line. The default CSS style for <pre> seems to include a top/bottom margin that we don't want, so modify the CSS style sheet to remove this. This keeps the spacing/layout of the HTML log file the same before/after this change. Signed-off-by: Stephen Warren <swarren@nvidia.com>
- Loading branch information
Showing
2 changed files
with
9 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,11 @@ body { | |
color: #ffffff; | ||
} | ||
|
||
pre { | ||
margin-top: 0px; | ||
margin-bottom: 0px; | ||
} | ||
|
||
.implicit { | ||
color: #808080; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters