hholzgra                Sun Nov 18 18:28:22 2001 EDT

  Modified files:              
    /phpdoc     html-common.dsl 
  Log:
  remove leading/trailing lines from <programlisting> and <screen>
  (esp. when using CDATA)
  add slight padding to output boxes
  
  
Index: phpdoc/html-common.dsl
diff -u phpdoc/html-common.dsl:1.17 phpdoc/html-common.dsl:1.18
--- phpdoc/html-common.dsl:1.17 Fri Nov  9 06:57:04 2001
+++ phpdoc/html-common.dsl      Sun Nov 18 18:28:22 2001
@@ -1,6 +1,6 @@
 ;; -*- Scheme -*-
 ;;
-;; $Id: html-common.dsl,v 1.17 2001/11/09 11:57:04 goba Exp $
+;; $Id: html-common.dsl,v 1.18 2001/11/18 23:28:22 hholzgra Exp $
 ;;
 
 ;; Returns the depth of the auto-generated TOC (table of
@@ -377,10 +377,14 @@
       (gi))))
        (if (or indent line-numbers?)
    ($verbatim-line-by-line$ indent line-numbers?)
-   (process-children)))))
+   (process-children-trim)))))
     (if %shade-verbatim%
 (make element gi: "TABLE"
-      attributes: ($shade-verbatim-attr$)
+      attributes: (list 
+                   (list "BORDER" "0")
+                   (list "BGCOLOR" "#E0E0E0")
+                   (list "CELLPADDING" "5")
+                   )
       (make element gi: "TR"
     (make element gi: "TD"
   content)))


Reply via email to