You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by sr...@apache.org on 2003/12/11 21:08:07 UTC

cvs commit: jakarta-struts struts.jsl

sraeburn    2003/12/11 12:08:07

  Modified:    .        struts.jsl
  Log:
  Fix additional whitespace problems occurring in <pre> sections
  
  Revision  Changes    Path
  1.2       +4 -9      jakarta-struts/struts.jsl
  
  Index: struts.jsl
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/struts.jsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- struts.jsl	29 Nov 2003 07:27:33 -0000	1.1
  +++ struts.jsl	11 Dec 2003 20:08:07 -0000	1.2
  @@ -495,18 +495,13 @@
     </jsl:template>
   
     <!-- copy any other elements through -->
  -  <jsl:template match="*" trim="false">
  -    <jsl:copy trim="false">
  -      <jsl:applyTemplates trim="false"/>
  -    </jsl:copy>
  -   </jsl:template>
  +  <jsl:template match="*" trim="false"><jsl:copy trim="false">
  +      <jsl:applyTemplates trim="false"/></jsl:copy></jsl:template>
   
      <!-- element values don't pass through as text -->
      <jsl:template match="@*"/>
   
      <!-- CDATA and text nodes pass-thru -->
  -   <jsl:template match="text()">
  -     <x:expr select="."/>
  -   </jsl:template>
  +   <jsl:template match="text()"><x:expr select="."/></jsl:template>
   
   </jsl:stylesheet>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org