On 04/08/07, Andrew Chilton <[EMAIL PROTECTED]> wrote: > Hi Alan, > > On 04/08/07, Alan Humphrey <[EMAIL PROTECTED]> wrote: > > I'm seeing a \r\n inserted before component results and I can't figure out > > where they're coming from. > > > > Here's the code: > > > > <%def .image_value> > > % if ( defined $c->stash->{default_image} ) { > > % print $c->stash->{default_image}->$column; > > % } > > <%args> > > $column > > </%args> > > </%def> > > Try putting a \ at the end of the $column line:
Ah, I think I mis-read your original post. Oopse, sorry :-) Now I'm not so sure where it is either. Maybe try at the end of this line: <%def .image_value>\ Andy -- contact: Andrew Chilton website: http://kapiti.geek.nz/ ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Mason-users mailing list Mason-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mason-users