[jboss-cvs] jboss-seam/examples/wiki/src/main/org/jboss/seam/wiki/core/ui ...
Christian Bauer
christian at hibernate.org
Fri Nov 16 00:47:25 EST 2007
User: cbauer
Date: 07/11/16 00:47:25
Modified: examples/wiki/src/main/org/jboss/seam/wiki/core/ui
FeedServlet.java
Log:
Fixed [<=endTeaser]
Revision Changes Path
1.11 +2 -1 jboss-seam/examples/wiki/src/main/org/jboss/seam/wiki/core/ui/FeedServlet.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: FeedServlet.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/wiki/src/main/org/jboss/seam/wiki/core/ui/FeedServlet.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- FeedServlet.java 9 Nov 2007 15:02:07 -0000 1.10
+++ FeedServlet.java 16 Nov 2007 05:47:25 -0000 1.11
@@ -15,6 +15,7 @@
import org.jboss.seam.wiki.core.model.FeedEntry;
import org.jboss.seam.wiki.core.model.User;
import org.jboss.seam.wiki.core.action.Authenticator;
+import org.jboss.seam.wiki.util.WikiUtil;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
@@ -101,7 +102,7 @@
syndEntry.setUpdatedDate(entry.getUpdatedDate());
description = new SyndContentImpl();
description.setType(entry.getDescriptionType());
- description.setValue(entry.getDescriptionValue());
+ description.setValue(WikiUtil.removeMacros(entry.getDescriptionValue()));
syndEntry.setDescription(description);
if (entry.getDocument() != null && entry.getDocument().getReadAccessLevel() <= currentAccessLevel) {
// Only add entry if the associated document has the right access level
More information about the jboss-cvs-commits
mailing list