On 8/3/07, Alan Humphrey <[EMAIL PROTECTED]> wrote: > Hi - > > 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>
Just wondering why not use a customized module function which might better suit this situation.. :) Regards, Xicheng > Here's a typical call: > > <input type="hidden" name="id" value="<& .image_value, column=>'id' > &>" > > > And here's the result on the page: > > <input type="hidden" name="id" value=" > 4" > > > Mason 1.36 - freshly installed. > Apache 2.2 > > Any ideas? Thanks! > > - Alan > > > > > ------------------------------------------------------------------------- > 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 > -- perl -le'print"So~*kde~box*DS*Zoxf*fe|er"^$\x23' ------------------------------------------------------------------------- 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