Re: [AppDB] Get additional comments to display properly
Can you attach the patch instead of including it inline? Also, can you provide an example of what is broken and why wrapping things with <pre> is going to fix it. Chris On 10/10/07, Tony Lambregts <tony.lambregts(a)gmail.com> wrote:
Change log: Get additional comments in test results to display properly
Files changed: apidb.css include/testData.php
From nobody Mon Sep 17 00:00:00 2001 From: Tony Lambregts <tony.lambregts(a)gmail.com> Date: Wed Oct 10 20:12:08 2007 -0600 Subject: Get additional comments to display properly
---
apidb.css | 9 ++++++++- include/testData.php | 4 ++-- 2 files changed, 10 insertions(+), 3 deletions(-)
747b763dda190e245b8658db146839939f753134 diff --git a/apidb.css b/apidb.css index 67ca444..214a5c9 100644 --- a/apidb.css +++ b/apidb.css @@ -23,7 +23,14 @@ A.hidden { text-decoration: n OL,UL,P { font-size: 12px; } TD,TR,TH { font-size: 12px; } INPUT { font-size: 12px; } -PRE { font-family: monospace; font-size: 12px; } +PRE { font-size: 12px; + color: #000000; + white-space: pre-wrap; /* css-3 */ + white-space: -moz-pre-wrap; /* Mozilla, since 1999 */ + white-space: -pre-wrap; /* Opera 4-6 */ + white-space: -o-pre-wrap; /* Opera 7 */ + word-wrap: break-word; /* Internet Explorer 5.5+ */ + font-family: "bitstream vera sans", "verdana", "arial", "helvetica", sans-serif;}
/* Hn Sizes */ H1 { font-size: 180%; } diff --git a/include/testData.php b/include/testData.php index 3dd833e..a4a7414 100644 --- a/include/testData.php +++ b/include/testData.php @@ -467,8 +467,8 @@ class testData{ echo $this->shWhatDoesnt,"\n"; echo '<p><br /><b>What was not tested</b><br />',"\n"; echo $this->shWhatNotTested,"\n"; - echo '<p><br /><b>Additional Comments</b><br />',"\n"; - echo $this->sComments,"\n"; + echo '<p><br /><b>Additional Comments</b><br /><pre>',"\n"; + echo $this->sComments.'</pre>',"\n"; }
function CreateTestTable() -- 1.2.4
participants (1)
-
Chris Morgan