cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1298024 - /cxf/web/src/main/java/org/apache/cxf/cwiki/ConfluenceCleanupWriter.java
Date Wed, 07 Mar 2012 17:13:31 GMT
Author: dkulp
Date: Wed Mar  7 17:13:31 2012
New Revision: 1298024

URL: http://svn.apache.org/viewvc?rev=1298024&view=rev
Log:
Remove and invalid attribute


Modified:
    cxf/web/src/main/java/org/apache/cxf/cwiki/ConfluenceCleanupWriter.java

Modified: cxf/web/src/main/java/org/apache/cxf/cwiki/ConfluenceCleanupWriter.java
URL: http://svn.apache.org/viewvc/cxf/web/src/main/java/org/apache/cxf/cwiki/ConfluenceCleanupWriter.java?rev=1298024&r1=1298023&r2=1298024&view=diff
==============================================================================
--- cxf/web/src/main/java/org/apache/cxf/cwiki/ConfluenceCleanupWriter.java (original)
+++ cxf/web/src/main/java/org/apache/cxf/cwiki/ConfluenceCleanupWriter.java Wed Mar  7 17:13:31
2012
@@ -58,6 +58,8 @@ public class ConfluenceCleanupWriter ext
         if ("a".equals(localName.toLowerCase())
             || "a".equals(qName.toLowerCase())) {
             String href = atts.getValue("href");
+            //Confluence sticks this on links from blog entries, but it's invalid
+            newAtts.remove("data-username"); 
             if (href != null && href.startsWith("/confluence/display/")) {
                 String params = "";
                 if (href.indexOf('#') != -1) {



Mime
View raw message