jakarta-taglibs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gl...@apache.org
Subject cvs commit: jakarta-taglibs/regexp/src/org/apache/taglibs/regexp RegexpTag.java
Date Sun, 15 Jul 2001 16:28:19 GMT
glenn       01/07/15 09:28:19

  Modified:    regexp/src/org/apache/taglibs/regexp RegexpTag.java
  Log:
  Trim tag body content
  
  Revision  Changes    Path
  1.3       +4 -4      jakarta-taglibs/regexp/src/org/apache/taglibs/regexp/RegexpTag.java
  
  Index: RegexpTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/regexp/src/org/apache/taglibs/regexp/RegexpTag.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- RegexpTag.java	2000/11/06 13:54:21	1.2
  +++ RegexpTag.java	2001/07/15 16:28:18	1.3
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-taglibs/regexp/src/org/apache/taglibs/regexp/RegexpTag.java,v
1.2 2000/11/06 13:54:21 glenn Exp $
  - * $Revision: 1.2 $
  - * $Date: 2000/11/06 13:54:21 $
  + * $Header: /home/cvs/jakarta-taglibs/regexp/src/org/apache/taglibs/regexp/RegexpTag.java,v
1.3 2001/07/15 16:28:18 glenn Exp $
  + * $Revision: 1.3 $
  + * $Date: 2001/07/15 16:28:18 $
    *
    * ====================================================================
    *
  @@ -118,7 +118,7 @@
       {
   	// Use the body of the tag as regular expression
   	BodyContent body = getBodyContent();
  -	regexptext = body.getString();
  +	regexptext = body.getString().trim();
   	// Clear the body since we only used it as input for the
   	// regular expression
   	body.clearBody();
  
  
  

Mime
View raw message