Chris, This is a job for CSS.
You are creating a list, so render your links in an unordered list, and set the class attribute for the last item to "last" and then use a CSS recipe for creating inline lists: ul,li { display:inline; margin: 0; padding 0; } li:after { content: ", "; } li.last:after { content: "."; } You may need to set any surrounding paragraphs to display inline as well if you want the list included in the text flow. Jonathan > -----Original Message----- > From: Chris Lewis [mailto:[EMAIL PROTECTED] > Sent: Saturday, January 12, 2008 5:05 PM > To: users@tapestry.apache.org > Subject: T5: 5.0.8 whitespace > > So this ticket has been implemented in svn: > https://issues.apache.org/jira/browse/TAPESTRY-2028 > > And now I need whitespace... so how can I get it back? Is there or isn't > there a way to disable this? Im using loop to output links (pagelinks), > and i have whitespace behind in the body so there is separation. > Unfortunately, it's getting stripped. Is there a workaround? > > On a related note, is there a way to know if im on the last iteration of > the loop, so i could for example, follow all but the last with a ","? > This may be outside the scope of loop as currently implemented, but i > can see it being useful. > > chris > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]