]> granicus.if.org Git - docbook-dsssl/commitdiff
Bug #875229: add white-space-treatment=preserve
authorNorman Walsh <ndw@nwalsh.com>
Thu, 26 Feb 2004 17:50:19 +0000 (17:50 +0000)
committerNorman Walsh <ndw@nwalsh.com>
Thu, 26 Feb 2004 17:50:19 +0000 (17:50 +0000)
xsl/fo/verbatim.xsl

index f2733a254b7914891d79edac101b9e55ec518d82..a85ca41520ab775713d97d547e1ae1faa870fb54 100644 (file)
@@ -46,7 +46,8 @@
     <xsl:when test="$shade.verbatim != 0">
       <fo:block wrap-option='no-wrap'
                 white-space-collapse='false'
-                linefeed-treatment="preserve"
+               white-space-treatment='preserve'
+                linefeed-treatment='preserve'
                 xsl:use-attribute-sets="monospace.verbatim.properties shade.verbatim.style">
 
         <xsl:copy-of select="$content"/>
@@ -55,6 +56,7 @@
     <xsl:otherwise>
       <fo:block wrap-option='no-wrap'
                 white-space-collapse='false'
+               white-space-treatment='preserve'
                 linefeed-treatment="preserve"
                 xsl:use-attribute-sets="monospace.verbatim.properties">
         <xsl:copy-of select="$content"/>
@@ -90,6 +92,7 @@
         <xsl:when test="$shade.verbatim != 0">
           <fo:block wrap-option='no-wrap'
                     white-space-collapse='false'
+                   white-space-treatment='preserve'
                     linefeed-treatment="preserve"
                     xsl:use-attribute-sets="monospace.verbatim.properties shade.verbatim.style">
 
         <xsl:otherwise>
           <fo:block wrap-option='no-wrap'
                     white-space-collapse='false'
+                   white-space-treatment='preserve'
                     linefeed-treatment="preserve"
                     xsl:use-attribute-sets="monospace.verbatim.properties">
             <xsl:copy-of select="$content"/>
         <xsl:when test="$shade.verbatim != 0">
           <fo:block wrap-option='no-wrap'
                     white-space-collapse='false'
+                   white-space-treatment='preserve'
                     text-align='start'
                     linefeed-treatment="preserve"
                     xsl:use-attribute-sets="verbatim.properties shade.verbatim.style">
         <xsl:otherwise>
           <fo:block wrap-option='no-wrap'
                     white-space-collapse='false'
+                   white-space-treatment='preserve'
                     text-align='start'
                     linefeed-treatment="preserve"
                     xsl:use-attribute-sets="verbatim.properties">
 
   <fo:block wrap-option='no-wrap'
             white-space-collapse='false'
+           white-space-treatment='preserve'
             linefeed-treatment="preserve"
             xsl:use-attribute-sets="verbatim.properties">
     <xsl:copy-of select="$content"/>