incubator-adffaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From awi...@apache.org
Subject svn commit: r497873 - in /incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/io: HtmlResponseWriter.java XhtmlResponseWriter.java
Date Fri, 19 Jan 2007 16:55:00 GMT
Author: awiner
Date: Fri Jan 19 08:54:59 2007
New Revision: 497873

URL: http://svn.apache.org/viewvc?view=rev&rev=497873
Log:
Don't write extra spaces around comments, as IEs CSS Conditional Comments gets unhappy

Modified:
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/io/HtmlResponseWriter.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/io/XhtmlResponseWriter.java

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/io/HtmlResponseWriter.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/io/HtmlResponseWriter.java?view=diff&rev=497873&r1=497872&r2=497873
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/io/HtmlResponseWriter.java
(original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/io/HtmlResponseWriter.java
Fri Jan 19 08:54:59 2007
@@ -289,9 +289,9 @@
     if (comment != null)
     {
       _closeStartIfNecessary();
-      _out.write("<!-- ");
+      _out.write("<!--");
       _out.write(comment.toString());
-      _out.write(" -->");
+      _out.write("-->");
     }
   }
 

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/io/XhtmlResponseWriter.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/io/XhtmlResponseWriter.java?view=diff&rev=497873&r1=497872&r2=497873
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/io/XhtmlResponseWriter.java
(original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/io/XhtmlResponseWriter.java
Fri Jan 19 08:54:59 2007
@@ -233,9 +233,9 @@
     if (comment != null)
     {
       _closeStartIfNecessary();
-      _out.write("<!-- ");
+      _out.write("<!--");
       _out.write(comment.toString());
-      _out.write(" -->");
+      _out.write("-->");
     }
   }
 



Mime
View raw message