Skip to content

Commit 0b593c8

Browse files
dperpeetstefwalter
authored andcommitted
test: Change test logs to preserve whitespace
With the change, newlines will be preserved properly when copying in the browser. Closes #4149 Reviewed-by: Stef Walter <[email protected]>
1 parent 9bdf87b commit 0b593c8

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

test/common/log.html

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,6 @@
3737
background-color: #F2DEDE;
3838
border-color: #EBCCD1;
3939
}
40-
.preformatted {
41-
font-family: monospace;
42-
white-space: pre;
43-
}
4440
</style>
4541
<script id="Tests" type="text/template">
4642
<div class="panel-group" id="accordion">
@@ -83,12 +79,12 @@ <h4 class="panel-title">
8379
</h4>
8480
</div>
8581
<div id="collapse{{id}}" class="panel-collapse collapse {{^collapsed}}in{{/collapsed}}">
86-
<div class="panel-body preformatted">{{text}}</div>
82+
<pre class="panel-body">{{text}}</pre>
8783
</div>
8884
</div>
8985
</script>
9086
<script id="TextOnly" type="text/template">
91-
<div class="panel-body preformatted">{{text}}</div>
87+
<pre class="panel-body">{{text}}</pre>
9288
</script>
9389
<script id="TestProgress" type="text/template">
9490
<div class="progress" style="width: 40%">

0 commit comments

Comments
 (0)