click-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sa...@apache.org
Subject svn commit: r949408 - /click/trunk/click/framework/src/org/apache/click/util/ErrorReport.java
Date Sat, 29 May 2010 16:05:43 GMT
Author: sabob
Date: Sat May 29 16:05:43 2010
New Revision: 949408

URL: http://svn.apache.org/viewvc?rev=949408&view=rev
Log:
convert HTML escape to XML escape

Modified:
    click/trunk/click/framework/src/org/apache/click/util/ErrorReport.java

Modified: click/trunk/click/framework/src/org/apache/click/util/ErrorReport.java
URL: http://svn.apache.org/viewvc/click/trunk/click/framework/src/org/apache/click/util/ErrorReport.java?rev=949408&r1=949407&r2=949408&view=diff
==============================================================================
--- click/trunk/click/framework/src/org/apache/click/util/ErrorReport.java (original)
+++ click/trunk/click/framework/src/org/apache/click/util/ErrorReport.java Sat May 29 16:05:43
2010
@@ -421,7 +421,7 @@ public class ErrorReport {
 
             parseMsg = ClickUtils.escapeHtml(parseMsg);
 
-            parseMsg = StringUtils.replace(parseMsg, "...", ",  ");
+            parseMsg = StringUtils.replace(parseMsg, "...", ",  ");
 
             return parseMsg;
 
@@ -655,7 +655,7 @@ public class ErrorReport {
             buffer.append("<br/>");
         }
         if (map.isEmpty()) {
-            buffer.append("&nbsp;");
+            buffer.append("&#160;");
         }
     }
 



Mime
View raw message