cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p...@apache.org
Subject cvs commit: cocoon-2.1/src/blocks/scratchpad/garbage/source/java/org/apache/garbage/serializer XHTMLSerializer.java
Date Wed, 24 Mar 2004 01:27:50 GMT
pier        2004/03/23 17:27:50

  Modified:    src/blocks/scratchpad/garbage/source/java/org/apache/garbage/serializer
                        XHTMLSerializer.java
  Log:
  Fix little bug noticed elsewhere by Steve Krulewitz.
  TextArea are elements ALWAYS requiring an end tag.
  
  Revision  Changes    Path
  1.3       +3 -2      cocoon-2.1/src/blocks/scratchpad/garbage/source/java/org/apache/garbage/serializer/XHTMLSerializer.java
  
  Index: XHTMLSerializer.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/scratchpad/garbage/source/java/org/apache/garbage/serializer/XHTMLSerializer.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- XHTMLSerializer.java	5 Mar 2004 10:07:22 -0000	1.2
  +++ XHTMLSerializer.java	24 Mar 2004 01:27:50 -0000	1.3
  @@ -111,7 +111,8 @@
           if (uri.length() == 0) uri = XHTML1_NAMESPACE;
   
           if (XHTML1_NAMESPACE.equals(uri)) {
  -            if ((local.equalsIgnoreCase("script")) ||
  +            if ((local.equalsIgnoreCase("textarea")) ||
  +                (local.equalsIgnoreCase("script")) ||
                   (local.equalsIgnoreCase("style"))) {
                   this.closeElement(false);
               } else if (local.equalsIgnoreCase("head")) {
  
  
  

Mime
View raw message