From: Fabian Keil <fk@fabiankeil.de>
Date: Thu, 20 Sep 2012 10:44:18 +0000 (+0000)
Subject: Bring back the body attributes now that tidy no longer messes them up
X-Git-Tag: v_3_0_20~269
X-Git-Url: http://www.privoxy.org/gitweb/@default-cgi@/faq/%22https:/user-manual/static/@default-cgi@send-stylesheet?a=commitdiff_plain;h=7956666ec0ec5f3835a2a7a692bb6e28c5a6fb84;p=privoxy.git

Bring back the body attributes now that tidy no longer messes them up

Apparently they aren't entirely useless as they prevent
the Docbook mess from inserting other attributes.
---

diff --git a/doc/source/ldp.dsl.in b/doc/source/ldp.dsl.in
index ff281815..ccbea7d1 100644
--- a/doc/source/ldp.dsl.in
+++ b/doc/source/ldp.dsl.in
@@ -79,6 +79,23 @@
 
 ;; HB added 03/20/02, see dbparam.dsl ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 
+(define %body-attr% 
+  ;; REFENTRY body-attr
+  ;; PURP What attributes should be hung off of BODY?
+  ;; DESC
+  ;; A list of the BODY attributes that should be generated.
+  ;; The format is a list of lists, each interior list contains the
+  ;; name and value of a BODY attribute.
+  ;; /DESC
+  ;; AUTHOR N/A
+  ;; /REFENTRY
+  (list
+   (list "BGCOLOR" "#EEEEEE")
+   (list "TEXT" "#000000")
+   (list "LINK" "#0000FF")
+   (list "VLINK" "#840084")
+   (list "ALINK" "#0000FF")))
+
 (define %stylesheet%
   ;; REFENTRY stylesheet
   ;; PURP Name of the stylesheet to use
@@ -308,6 +325,23 @@
 
 ;; HB added 03/20/02, see dbparam.dsl ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 
+(define %body-attr% 
+  ;; REFENTRY body-attr
+  ;; PURP What attributes should be hung off of BODY?
+  ;; DESC
+  ;; A list of the the BODY attributes that should be generated.
+  ;; The format is a list of lists, each interior list contains the
+  ;; name and value of a BODY attribute.
+  ;; /DESC
+  ;; AUTHOR N/A
+  ;; /REFENTRY
+  (list
+   (list "BGCOLOR" "#EEEEEE")
+   (list "TEXT" "#000000")
+   (list "LINK" "#0000FF")
+   (list "VLINK" "#840084")
+   (list "ALINK" "#0000FF")))
+
 (define %stylesheet%
   ;; REFENTRY stylesheet
   ;; PURP Name of the stylesheet to use