[jboss-cvs] jboss-portal/core/src/main/org/jboss/portal/core/portlet/cms ...
Roy Russo
russo at jboss.com
Tue Aug 22 16:08:47 EDT 2006
User: russo
Date: 06/08/22 16:08:47
Modified: core/src/main/org/jboss/portal/core/portlet/cms
CMSPortlet.java
Log:
JBPORTAL-937 - fixed bad regex on header replace
Revision Changes Path
1.50 +2 -2 jboss-portal/core/src/main/org/jboss/portal/core/portlet/cms/CMSPortlet.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: CMSPortlet.java
===================================================================
RCS file: /cvsroot/jboss/jboss-portal/core/src/main/org/jboss/portal/core/portlet/cms/CMSPortlet.java,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -b -r1.49 -r1.50
--- CMSPortlet.java 11 Aug 2006 15:32:50 -0000 1.49
+++ CMSPortlet.java 22 Aug 2006 20:08:47 -0000 1.50
@@ -51,7 +51,7 @@
*
* @author <a href="mailto:roy at jboss.org">Roy Russo</a>
* @author <a href="mailto:julien at jboss.org">Julien Viet</a>
- * @version $Revision: 1.49 $
+ * @version $Revision: 1.50 $
* <p/>
* TODO: use portlet preferences for default homepage, and allow for preference modification in doEdit()
*/
@@ -119,7 +119,7 @@
private static final Pattern RELATIVE_URI_PATTERN = Pattern.compile(regex, Pattern.MULTILINE | Pattern.CASE_INSENSITIVE | Pattern.COMMENTS);
- private static final Pattern STRIP_TAGS_PATTERN = Pattern.compile(HTMLStripperRegex, Pattern.CASE_INSENSITIVE);
+ private static final Pattern STRIP_TAGS_PATTERN = Pattern.compile(HTMLStripperRegex, Pattern.DOTALL | Pattern.CASE_INSENSITIVE);
/**
* Our path to jsp pages
More information about the jboss-cvs-commits
mailing list