From: Lee <ler762@users.sourceforge.net>
Date: Tue, 23 Oct 2018 03:09:04 +0000 (-0400)
Subject: don't convert "&code;" strings in docbook generated html
X-Git-Tag: v_3_0_27~43
X-Git-Url: http://www.privoxy.org/gitweb/@default-cgi@/faq/user-manual/@default-cgi@send-stylesheet?a=commitdiff_plain;h=d222bd86302c36ac2b2058d6cfcc7bc6ed2a3a5b;p=privoxy.git

don't convert "&code;" strings in docbook generated html

docbook generates ISO-8859 characters for &code; strings
If we keep the "&code;" strings as is, docbook can
generate 7-bit clean ascii
---

diff --git a/doc/source/ldp.dsl.in b/doc/source/ldp.dsl.in
index fba0b1db..8ed79126 100644
--- a/doc/source/ldp.dsl.in
+++ b/doc/source/ldp.dsl.in
@@ -255,11 +255,11 @@
 <style-specification id="html" use="docbook">
 <style-specification-body>
 
-;; this is necessary because right now jadetex does not understand
-;; symbolic entities, whereas things work well with numeric entities.
+;; this is the 'html' portion of the stylesheet so we want to keep the
+;; ampersand-code strings and let the browser convert them to characters
 (declare-characteristic preserve-sdata?
   "UNREGISTERED::James Clark//Characteristic::preserve-sdata?"
-  #f)
+  #t)
 
 ;; put the legal notice in a separate file
 (define %generate-legalnotice-link%