cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1496598 - /cxf/web/src/main/java/org/apache/cxf/cwiki/SiteExporter.java
Date Tue, 25 Jun 2013 19:21:00 GMT
Author: dkulp
Date: Tue Jun 25 19:20:59 2013
New Revision: 1496598

URL: http://svn.apache.org/r1496598
Log:
Off by one

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

Modified: cxf/web/src/main/java/org/apache/cxf/cwiki/SiteExporter.java
URL: http://svn.apache.org/viewvc/cxf/web/src/main/java/org/apache/cxf/cwiki/SiteExporter.java?rev=1496598&r1=1496597&r2=1496598&view=diff
==============================================================================
--- cxf/web/src/main/java/org/apache/cxf/cwiki/SiteExporter.java (original)
+++ cxf/web/src/main/java/org/apache/cxf/cwiki/SiteExporter.java Tue Jun 25 19:20:59 2013
@@ -1068,7 +1068,7 @@ public class SiteExporter implements Run
             && content.substring(idx + 1).startsWith("<p></p>")) {
             //new confluence tends to stick an empty paragraph at the beginning for some
pages (like Banner)
             //that causes major formatting issues.  Strip it.
-            content = content.substring(0, idx) + content.substring(idx + 8);
+            content = content.substring(0, idx + 1) + content.substring(idx + 8);
         }
         return content;
     }



Mime
View raw message