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)