[jsword-svn] bibledesktop/resource/xsl/cswing s

jswordcvs at crosswire.org jswordcvs at crosswire.org
Fri Mar 11 06:07:39 MST 2005


Update of /cvs/jsword/bibledesktop/resource/xsl/cswing
In directory www.crosswire.org:/tmp/cvs-serv6164/resource/xsl/cswing

Modified Files:
	simple.xsl 
Log Message:
Improved the PlainTextFilter. It was not preserving whitespace, which is ok for Jubilee2000, but not for Naves.

Index: simple.xsl
===================================================================
RCS file: /cvs/jsword/bibledesktop/resource/xsl/cswing/simple.xsl,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** simple.xsl	6 Mar 2005 04:55:44 -0000	1.11
--- simple.xsl	11 Mar 2005 13:07:37 -0000	1.12
***************
*** 480,483 ****
--- 480,488 ----
    
    <!-- Avoid adding whitespace -->
+   <xsl:template match="lg">
+     <div class="lg"><xsl:apply-templates/></div>
+   </xsl:template>
+   
+   <!-- Avoid adding whitespace -->
    <xsl:template match="l">
      <div class="l"><xsl:apply-templates/></div>
***************
*** 485,491 ****
    
    <!-- Avoid adding whitespace -->
!   <xsl:template match="lg">
!     <div class="lg"><xsl:apply-templates/></div>
!   </xsl:template>
    
    <!-- Avoid adding whitespace -->
--- 490,497 ----
    
    <!-- Avoid adding whitespace -->
!   <!-- While a BR is a break, if it is immediately followed by punctuation,
!        indenting this rule can introduce whitespace.
!     -->
!   <xsl:template match="lb"><br/></xsl:template>
    
    <!-- Avoid adding whitespace -->



More information about the jsword-svn mailing list