jspwiki-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jalka...@apache.org
Subject svn commit: r714236 - in /incubator/jspwiki/trunk: ChangeLog src/com/ecyrd/jspwiki/Release.java src/com/ecyrd/jspwiki/plugin/WeblogPlugin.java
Date Sat, 15 Nov 2008 11:36:41 GMT
Author: jalkanen
Date: Sat Nov 15 03:36:41 2008
New Revision: 714236

URL: http://svn.apache.org/viewvc?rev=714236&view=rev
Log:
[JSPWIKI-428]: WeblogPlugin was not properly finding the page title
due to misshapen regexp.

Modified:
    incubator/jspwiki/trunk/ChangeLog
    incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/Release.java
    incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/plugin/WeblogPlugin.java

Modified: incubator/jspwiki/trunk/ChangeLog
URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/ChangeLog?rev=714236&r1=714235&r2=714236&view=diff
==============================================================================
--- incubator/jspwiki/trunk/ChangeLog (original)
+++ incubator/jspwiki/trunk/ChangeLog Sat Nov 15 03:36:41 2008
@@ -1,10 +1,17 @@
+2008-11-06  Janne Jalkanen <jalkanen@apache.org>
+
+        * 3.0.0-svn-8
+        
+        * [JSPWIKI-428]: WeblogPlugin was not properly finding the page title
+        due to misshapen regexp.
+        
 2008-11-13 Harry Metske <metskem@apache.org>
 
         * 3.0.0-svn-7
         
         * JSPWIKI-407: added Italian corepages and update to it resources, thanks to Luca
  
- 2008-11-10 Harry Metske <metskem@apache.org>
+2008-11-10 Harry Metske <metskem@apache.org>
 
         * 3.0.0-svn-6
         

Modified: incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/Release.java
URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/Release.java?rev=714236&r1=714235&r2=714236&view=diff
==============================================================================
--- incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/Release.java (original)
+++ incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/Release.java Sat Nov 15 03:36:41 2008
@@ -77,7 +77,7 @@
      *  <p>
      *  If the build identifier is empty, it is not added.
      */
-    public static final String     BUILD         = "7";
+    public static final String     BUILD         = "8";
     
     /**
      *  This is the generic version string you should use

Modified: incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/plugin/WeblogPlugin.java
URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/plugin/WeblogPlugin.java?rev=714236&r1=714235&r2=714236&view=diff
==============================================================================
--- incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/plugin/WeblogPlugin.java (original)
+++ incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/plugin/WeblogPlugin.java Sat Nov 15 03:36:41
2008
@@ -108,7 +108,7 @@
     static
     {
         // This is a pretty ugly, brute-force regex. But it will do for now...
-        HEADINGPATTERN = Pattern.compile("(<h[1-4].*>)(.*)(</h[1-4]>)", Pattern.CASE_INSENSITIVE);
+        HEADINGPATTERN = Pattern.compile("(<h[1-4][^>]*>)(.*)(</h[1-4]>)",
Pattern.CASE_INSENSITIVE);
     }
 
     /**



Mime
View raw message