From 18c8a5ace185b5318e02debbac378ac9abf8f632 Mon Sep 17 00:00:00 2001 From: "Eric J. Bowersox" Date: Thu, 17 Jan 2002 18:52:13 +0000 Subject: [PATCH] fixed the user link resolution part of this tag --- src/com/silverwrist/venice/ui/conf/jsp/PostRewriteTag.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/com/silverwrist/venice/ui/conf/jsp/PostRewriteTag.java b/src/com/silverwrist/venice/ui/conf/jsp/PostRewriteTag.java index fdac45a..8fe9c0e 100644 --- a/src/com/silverwrist/venice/ui/conf/jsp/PostRewriteTag.java +++ b/src/com/silverwrist/venice/ui/conf/jsp/PostRewriteTag.java @@ -107,7 +107,7 @@ public class PostRewriteTag extends VeniceConfBodyTagSupport implements LinkType } // end if // else there were no post links, just leave "data" the way it is - if (data.indexOf(PostLinkRewriter.URI_PREFIX)<0) + if (data.indexOf(UserNameRewriter.URI_PREFIX)<0) { // no user links in here - output what we've got and call it output(body,data); return SKIP_BODY; @@ -116,7 +116,7 @@ public class PostRewriteTag extends VeniceConfBodyTagSupport implements LinkType // begin replacing the user links with real user links t = data; - p = t.indexOf(PostLinkRewriter.URI_PREFIX); + p = t.indexOf(UserNameRewriter.URI_PREFIX); while (p>=0) { // break off the start of the string and append it if (p>0)