Get additional comments to display properly

Tony Lambregts tony.lambregts at gmail.com
Wed Oct 10 21:12:08 CDT 2007


---

 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


--------------000202080100040602050909--



More information about the wine-patches mailing list