maven-doxia-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ltheu...@apache.org
Subject svn commit: r1125256 - /maven/doxia/doxia/trunk/doxia-modules/doxia-module-fo/src/main/resources/fo-styles.xslt
Date Fri, 20 May 2011 06:49:33 GMT
Author: ltheussl
Date: Fri May 20 06:49:32 2011
New Revision: 1125256

URL: http://svn.apache.org/viewvc?rev=1125256&view=rev
Log:
[DOXIA-430] add linefeed-treatment=preserve to preserve empty lines

Modified:
    maven/doxia/doxia/trunk/doxia-modules/doxia-module-fo/src/main/resources/fo-styles.xslt

Modified: maven/doxia/doxia/trunk/doxia-modules/doxia-module-fo/src/main/resources/fo-styles.xslt
URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-modules/doxia-module-fo/src/main/resources/fo-styles.xslt?rev=1125256&r1=1125255&r2=1125256&view=diff
==============================================================================
--- maven/doxia/doxia/trunk/doxia-modules/doxia-module-fo/src/main/resources/fo-styles.xslt
(original)
+++ maven/doxia/doxia/trunk/doxia-modules/doxia-module-fo/src/main/resources/fo-styles.xslt
Fri May 20 06:49:32 2011
@@ -86,6 +86,10 @@
     </xsl:attribute-set>
     <xsl:attribute-set name="base.pre.style">
         <xsl:attribute name="font-family">monospace</xsl:attribute>
+        <xsl:attribute name="linefeed-treatment">preserve</xsl:attribute>
+        <xsl:attribute name="wrap-option">no-wrap</xsl:attribute>
+        <xsl:attribute name="keep-together">always</xsl:attribute>
+        <xsl:attribute name="white-space-collapse">false</xsl:attribute>
     </xsl:attribute-set>
 
     <xsl:attribute-set name="italic">
@@ -113,9 +117,6 @@
         <xsl:attribute name="end-indent">inherited-property-value(end-indent) + 1em</xsl:attribute>
     </xsl:attribute-set>
     <xsl:attribute-set name="body.source" use-attribute-sets="body.pre">
-        <xsl:attribute name="wrap-option">no-wrap</xsl:attribute>
-        <xsl:attribute name="keep-together">always</xsl:attribute>
-        <xsl:attribute name="white-space-collapse">false</xsl:attribute>
         <xsl:attribute name="color">black</xsl:attribute>
         <xsl:attribute name="border-style">solid</xsl:attribute>
         <xsl:attribute name="border-width">0.5pt</xsl:attribute>



Mime
View raw message